Cod sursa(job #933540)
Utilizator | Data | 30 martie 2013 04:17:57 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.35 kb |
/*
* adunare.cpp
*
* Created on: 30.03.2013
* Author: Constantin Carapencea
*/
#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;
}