Cod sursa(job #2603483)
Utilizator | Data | 20 aprilie 2020 10:21:16 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.33 kb |
#include <iostream>
#include <fstream>
int main() {
std::ifstream in_file {"adunare.in"};
std::ofstream out_file {"adunare.out"};
if (!in_file || !out_file) {
std::cerr << "A aparut o problema" << std::endl;
}
long long a, b;
in_file >> a >> b;
out_file << a + b;
return 0;
}