Cod sursa(job #1512972)
Utilizator | Data | 28 octombrie 2015 20:41:00 | |
---|---|---|---|
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;
ifstream ifs("adunare.in");
ofstream ofs("adunare.out");
ifs >> a >> b;
ofs << a + b;
ofs.close();
ifs.close();
return 0;
}