Cod sursa(job #608014)
Utilizator | Data | 14 august 2011 16:44:19 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
int main()
{
int a, b;
std::ifstream ifs("adunare.in");
std::ofstream ofs ("adunare.out");
ifs >> a >> b;
ofs << a + b;
ifs.close();
ofs.close();
return 0;
}