Cod sursa(job #179220)
Utilizator | Data | 15 aprilie 2008 19:09:20 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream.h>
#include<fstream.h>
long A,B;
fstream f("adunarea.in", ios::in);
fstream g("adunarea.out", ios::out);
int main ()
{
f>>A; f>>B;
f.close();
g<<A+B;
g.close();
return 0;
}