Cod sursa(job #651531)
Utilizator | galeteanu ovidiu ovidiu11 | Data | 20 decembrie 2011 19:10:04 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
using namespace std;
int main()
{long a,b,S=0;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
S=a+b;
g<<S;
f.close();
g.close();
return 0;
}