Cod sursa(job #2019555)
Utilizator | Data | 8 septembrie 2017 00:35:58 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
int main()
{
ifstream fin;
fin.open("adunare.in");
int a, b;
fin >> a;
fin >> b;
a += b;
fin.close();
ofstream fout("adunare.out");
fout << a;
fout.close();
return 0;
}