Cod sursa(job #247902)
Utilizator | Data | 24 ianuarie 2009 13:40:08 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
int main()
{int a, b, s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
s=a+b;
g<<s;
f.close ();
g.close();
return 0;
}