Cod sursa(job #324717)
Utilizator | Data | 16 iunie 2009 23:05:36 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a;
int b;
f >> a;
f >> b;
g << a + b << endl;
f.close();
g.close();
return 0;
}