Cod sursa(job #1335999)
| Utilizator | Data | 6 februarie 2015 12:19:42 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{int a,b;
fstream f("adunare.in",ios::in);
f>>a;
f>>b;
f.close();
a=a+b;
fstream f1("adunare.out",ios::out);
f1<<a;
f1.close();
return 0;
}
