Cod sursa(job #11454)
Utilizator | Data | 31 ianuarie 2007 18:36:39 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
#include<math.h>
int main()
{ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
s=0;
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}