Cod sursa(job #1745968)
| Utilizator | Data | 22 august 2016 16:18:21 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 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();
return 0;
}