Cod sursa(job #245559)
Utilizator | Data | 18 ianuarie 2009 12:05:45 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <fstream.h>
#include <iostream.h>
fstream f ("adunare.in",ios::in);
fstream g ("adunare.out",ios::out);
int main ()
{
long a,b,s;
f>>a; f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}