Cod sursa(job #249629)
Utilizator | Data | 28 ianuarie 2009 21:09:17 | |
---|---|---|---|
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);
int main ()
{
int a,b,s;
f>>a;
f>>b;
s=a+b;
g<<s;
f.close ();
g.close ();
return 0;
}