Cod sursa(job #2191797)
Utilizator | Data | 3 aprilie 2018 19:09:37 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream f("adunare.in");
int a, b;
f >> a >> b;
f.close();
ofstream g("adunare.out");
g << a + b;
g.close();
}