Cod sursa(job #1420976)
Utilizator | Data | 19 aprilie 2015 10:22:36 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <iostream>
#include <fstream>
using namespace std;
int a,b;
int main()
{
ifstream f1;
ofstream f2;
f1.open("adunare.in");
f2.open("adunare.out");
f1 >> a >> b;
f2 << a+b;
f1.close();
f2.close();
return 0;
}