Cod sursa(job #189174)
| Utilizator | Data | 12 mai 2008 19:13:21 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
int main()
{long int a,b;
ifstream f1("adunare.in");
ofstream f2("adunare.out");
f1>>a>>b;
f2<<a+b;
f1.close();
f2.close();
return 0;}