Cod sursa(job #149373)
Utilizator | Data | 5 martie 2008 17:32:54 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream.h>
int main(void)
{ int a,b;
long s;
s=0;
ifstream in("suma.in");
in>>a>>b;
in.close();
ofstream out("suma.out");
s=a+b;
out<<s;
out.close();
return 0;
}