Cod sursa(job #2105770)
Utilizator | Data | 14 ianuarie 2018 08:28:14 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int x,y;
ifstream f("adunare.in");
ofstream f1("adunare.out");
f>>x>>y;
f1<<x+y;
f.close();
f1.close();
cout << "Hello world!" << endl;
return 0;
}