Cod sursa(job #9277)
| Utilizator | Data | 27 ianuarie 2007 13:51:03 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.13 kb |
#include <fstream.h>
long a,b;
ifstream f ("adunare.in");
ofstream g ("adunare.out");
int main()
{f>>a>>b;
g<<a+b;
return 0;
}