Cod sursa(job #1745965)
| Utilizator | Data | 22 august 2016 16:17:33 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream>
void main()
{
int a, b;
std::ifstream f("adunare.in");
f >> a >> b;
f.close();
std::ofstream g("adunare.out");
g << a + b;
g.close();
}