Cod sursa(job #1593728)
Utilizator | Data | 8 februarie 2016 20:26:16 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | 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;
}