Cod sursa(job #1157583)
Utilizator | Data | 28 martie 2014 17:07:56 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream>
#include<fstream>
using namespace std;
ifstream f1 ("adunare.in.txt");
ofstream f2 ("adunare.out.txt");
main ()
{int a,b,s;
f1>>a;
f1>>b;
s=a+b;
f2<<s;
f2.close();
return 0;
}