Cod sursa(job #404080)
Utilizator | Data | 25 februarie 2010 19:40:27 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream.h>
int main()
{ ifstream f1("adunare.in");
ofstream g1("adunare.out");
int a,b;
f1>>a;
f1>>b;
f1.close();
g1<<""<<(a+b);
g1.close();
return 0;
}