Cod sursa(job #933609)
Utilizator | Data | 30 martie 2013 11:14:00 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <fstream>
using namespace std;
int main(void)
{
ifstream i("adunare.in", ios::in);
int a, b;
i >> a >> b;
i.close();
ofstream o ("adunare.out", ios::out);
o << a + b << endl;
o.close();
return 0;
}