Cod sursa(job #383756)
Utilizator | Data | 17 ianuarie 2010 22:31:35 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream.h>
#include <fstream.h>
main()
{
int a,b;
fstream f("adunare.in",ios::in);
f>>a;
f>>b;
f.close();
fstream g("adunare.out",ios::out);
g<<(a+b);
g.close();
}