Cod sursa(job #106475)
Utilizator | Data | 18 noiembrie 2007 17:42:29 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
main()
{
long a,b;
ifstream g("adunare.in");
g>>a;
g>>b;
ofstream f("adunare.out");
f<<a+b;
f.close();
return 0;
}