Cod sursa(job #46202)
Utilizator | Data | 2 aprilie 2007 13:39:19 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b;
int main()
{
f>>a>>b;
g<<a+b<<'\n';
f.close();
g.close();
return 0;
}