Cod sursa(job #248262)
Utilizator | Data | 25 ianuarie 2009 12:17:37 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 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;
}