Cod sursa(job #288725)
| Utilizator | Data | 26 martie 2009 08:02:48 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | aa | Marime | 0.15 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
void main()
{f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();}