Cod sursa(job #1431274)
Utilizator | Data | 9 mai 2015 09:58:51 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.29 kb |
/*
* adunare.cpp
*
* Created on: May 9, 2015
* Author: andrei
*/
#include <fstream>
int main(int argc, char **argv) {
std::ifstream fin("adunare.in");
std::ofstream fout("adunare.out");
int a, b;
fin >> a >> b;
fout << a + b;
fin.close();
fout.close();
return 0;
}