Cod sursa(job #3315019)
| Utilizator | Data | 11 octombrie 2025 21:28:22 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <fstream>
#include <cassert>
int main()
{
std::ifstream f("adunare.in");
assert(f.is_open());
int a, b;
f >> a >> b;
f.close();
std::ofstream o("adunare.out");
o << a+b;
return 0;
}