Cod sursa(job #241509)
| Utilizator | Data | 10 ianuarie 2009 12:03:18 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.13 kb |
#include<fstream.h>
void main()
{long a,b,c;
ifstream f1 ("adunare.in");
ofstream f2 ("adunare.out");
f1>>a;
f1>>b;
f2<<(a+b);
}