Cod sursa(job #483598)
Utilizator | Data | 9 septembrie 2010 13:15:36 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream.h>
#include<fstream.h>
main()
{
long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}