Cod sursa(job #480937)
Utilizator | Data | 30 august 2010 10:20:08 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}