Cod sursa(job #275072)
| Utilizator | Data | 10 martie 2009 10:40:07 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream>
#include<iostream>
int main()
{
std::ifstream fin("adunare.in");
std::ofstream fout("adunare.out");
int a,b,s;
fin>>a;
fin>>b;
s=a+b;
fout<<s;
fin.close();
fout.close();
return 0;
}