Cod sursa(job #559829)
Utilizator | Data | 18 martie 2011 09:53:59 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
using namespace std;
int main()
{long a,b;
fstream f("adunari.in",ios::in) ,g("adunari.out",ios::out);
f>>a>>b;
int x=a+b;
g<<x<<endl;
f.close ();
g.close();
}