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