Cod sursa(job #2745150)
| Utilizator | Data | 25 aprilie 2021 22:28:48 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
int main()
{
std::ifstream f("adunare.in");
int a, b;
f >> a >> b;
f.close();
int sum = a + b;
std::ofstream g("adunare.out");
g << sum << std::endl;
g.close();
return 0;
}