Cod sursa(job #2252424)
| Utilizator | Data | 2 octombrie 2018 19:04:11 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | marpmi_2018 | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream f;
f.open("adunare.txt");
int a, b;
f>>a;
f>>b;
a=a+b;
ofstream of;
of.open("adunare.out");
of<<a;
}
