Cod sursa(job #55414)
Utilizator | Data | 27 aprilie 2007 13:29:14 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
long int a, b, s;
ifstream f("andunare.in");
ofstream g("andunare.out");
int main()
{ f>>a>>b;
s=a+b;
g<<s<<'\n';
g.close();
return 0;
}