Cod sursa(job #1061)
| Utilizator | Data | 12 decembrie 2006 15:38:41 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
main()
{long int a,b,s=0;
ifstream f("adunare.in");
f>>a;
f>>b;
s=a+b;
ofstream g("adunare.out");
g<<s;
f.close();
g.close();
}