Cod sursa(job #1674541)
Utilizator | Data | 4 aprilie 2016 18:42:30 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
int main() {
std::ifstream fin("adunare.in");
int a, b;
fin >> a >> b;
fin.close();
std::ofstream fout("adunare.out");
fout << (a+b);
fout.close();
}