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