Cod sursa(job #1012279)
Utilizator | Data | 18 octombrie 2013 17:16:36 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
long a,b;
fstream f("adunare.in",ios::in);
f>>a;
f>>b;
f.close();
fstream g("adunare,out",ios::out);
g<<a+b;
cout.flush();
g.close();
return 0;
}