Cod sursa(job #2114967)
| Utilizator | Data | 26 ianuarie 2018 09:42:40 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <fstream>
int main() {
int a, b;
std::ifstream fin ("adunare.in");
fin >> a >> b;
fin.close();
std::ofstream fout("adunare.out");
fout << a + b << "\n";
fout.close();
return 0;
}
