Cod sursa(job #234907)
Utilizator | Data | 22 decembrie 2008 11:18:12 | |
---|---|---|---|
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();
}