Cod sursa(job #2252388)
Utilizator | Data | 2 octombrie 2018 18:50:28 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | marpmi_2018 | Marime | 0.19 kb |
#include <fstream>
using namespace std;
int main()
{
ifstream f ("adunare.in");
int a, b;
f >> a >> b;
f.close();
a = a + b;
ofstream d ("adunare.out");
d << a;
d.close();
}