Cod sursa(job #53053)
Utilizator | Data | 20 aprilie 2007 19:57:14 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main()
{
long a,b;
ifstream in("adunare.in");
in>>a>>b;
in.close();
long x;
x=a+b;
ofstream out("adunare.out");
out<<x<<'\n';
out.close();
return 0;
}