Cod sursa(job #2252390)
Utilizator | Data | 2 octombrie 2018 18:51:35 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | marpmi_2018 | Marime | 0.24 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream f("adunare.in");
f.open();
ofstream g("adunare.out");
int a,b,c=0;
f>>a>>b;
f.close();
c=a+b;
g<<c;
return 0;
}