Cod sursa(job #750971)
Utilizator | Data | 23 mai 2012 19:24:47 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream.h>
int main()
{
int a, b, s;
ifstream f("adunare.in");
f >> a;
f >> b;
f.close();
s = a + b;
ofstream g("adunare.out");
g << s;
g.close();
return 0;
}