Cod sursa(job #502502)
Utilizator | Data | 19 noiembrie 2010 19:46:24 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
long a,b,c;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{f>>a>>b;f.close();
c=a+b;
g>>c>>'\n';f.close();
return 0;
{