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