Cod sursa(job #823215)
Utilizator | Data | 24 noiembrie 2012 19:04:41 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 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;
}