Cod sursa(job #248386)
Utilizator | Data | 25 ianuarie 2009 16:36:40 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
# include <iostream.h>
#include <fstream.h>
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
void main ()
{
int a,b,s;
f>>a;
f>>b;
s=a+b;
g<<s;
f.close ();
g.close();
}