Cod sursa(job #2287309)
Utilizator | Data | 21 noiembrie 2018 19:23:12 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream>
int main()
{
int a, b;
std::ifstream f("adunare.in");
f >> a >> b;
f.close();
std::ofstream g("adunare.out");
g << a + b;
g.close();
}