Cod sursa(job #20065)
Utilizator | Data | 20 februarie 2007 18:09:15 | |
---|---|---|---|
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");
long a,b;
int main()
{f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}