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