Cod sursa(job #560051)
Utilizator | Data | 18 martie 2011 12:08:25 | |
---|---|---|---|
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;
fstream f("adunare.in",ios::in) ,g("adunare.out",ios::out);
f>>a>>b;
g<<a+b<<endl;
f.close ();
g.close();
}