Cod sursa(job #752323)
Utilizator | Data | 28 mai 2012 12:57:38 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
void main()
{int a,b,s=0;
ifstream f("suma.in");
ofstream g("suma.out");
f>>a;
f>>b;
f.close();
s=a+b;
g<<s;
g.close();
}