Cod sursa(job #132851)
| Utilizator | Data | 6 februarie 2008 19:40:40 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream.h>
#include<conio.h>
#include<fstream.h>
main()
{ifstream i("adunare.in");
ofstream o("adunare.out");
int a,b;
while (!i.eof())
{i>>a>>b;
o<<(a+b)<<endl;}
}
