Cod sursa(job #291645)
| Utilizator | Data | 30 martie 2009 09:34:40 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | The Beginners | 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;
}