Cod sursa(job #1333958)
Utilizator | Data | 3 februarie 2015 19:35:39 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{ int a,b;
fstream f1 ("adunare.in.txt",ios::in);
f1>>a;
f1>>b;
f1.close();
fstream f2 ("adunare.out.txt",ios::out);
f2<<a+b;
f2.close();
return 0;
}