Cod sursa(job #263885)
Utilizator | Data | 20 februarie 2009 21:52:03 | |
---|---|---|---|
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("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
}