Cod sursa(job #557151)
| Utilizator | Data | 16 martie 2011 14:41:29 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
int main ()
{
long a,b;
ifstream f("adunare.in");
f>>a>>b;
f.close();
ofstream g("adunare.out");
g<<a+b;
g.close();
return 0;
}