Cod sursa(job #381385)
Utilizator | Data | 10 ianuarie 2010 14:39:56 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 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;
}