Cod sursa(job #285832)
| Utilizator | Data | 23 martie 2009 00:12:45 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
#include<iostream>
int main()
{
fstream f,g;
f.open("adunare.in",ios::in);
g.open("adunare.out",ios::out);
long x,y;
f>>x>>y;
g<<x+y;
f.close();
g.close();
return 0;
}
