Cod sursa(job #2496343)
Utilizator | Data | 20 noiembrie 2019 18:35:05 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
int main(void)
{
int a, b;
std::ifstream f;
f.open("adunare.in");
f >> a;
f >> b;
f.close();
std::ofstream fout;
fout.open("adunare.out");
fout << a + b;
fout.close();
return 0;
}