Cod sursa(job #240663)
| Utilizator | Data | 8 ianuarie 2009 08:38:59 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{long a,b;
f>>a>>b;
g<<a+b<<endl;
f.close(); g.close();
return 0;
}