Cod sursa(job #2460381)
Utilizator | Data | 23 septembrie 2019 16:29:21 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream f;
f.open("adunare.in");
ofstream g;
g.open("adunare.out");
int a, b;
f >> a >> b;
g << a + b;
f.close();
g.close();
return 0;
}