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