Cod sursa(job #291803)
Utilizator | Data | 30 martie 2009 13:41:27 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | ktmalx_93 | Marime | 0.21 kb |
#include<fstream.h>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}