Cod sursa(job #1384095)
Utilizator | Data | 10 martie 2015 21:07:14 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
std::ifstream f("adunare.in");
std::ofstream g("adunare.out");
int main()
{
int a, b; f >> a >> b;
g << ' ' << a + b << '\n';
f.close();
g.close();
return 0;
}