Cod sursa(job #308502)
Utilizator | Data | 27 aprilie 2009 15:22:16 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | super_easy | Marime | 0.23 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
int main()
{f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;}