Cod sursa(job #189073)
| Utilizator | Data | 11 mai 2008 22:24:55 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.23 kb |
#include<iostream.h>
#include<fstream.h>
long A,B;
fstream f("adunare.in", ios::in);
fstream g("adunare.out", ios::out);
int main ()
{
f>>A; f>>B;
f.close();
g<<A+B;
g.close();
return 0;
} 