Cod sursa(job #1430085)
Utilizator | Data | 7 mai 2015 21:22:25 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#include <fstream>
int main (void) {
std::ifstream fileIn ("adunare.in");
std::ofstream fileOut ("adunare.out");
int a, b;
fileIn >> a >> b;
fileOut << (a+b) << "\n";
fileIn.close();
fileOut.close();
return 0;
}