Cod sursa(job #358033)
Utilizator | Data | 21 octombrie 2009 18:42:19 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
int main()
{
ifstream f("adunare.in");
long a,b,c;
c=a+b;
f>>a>>b;
f.close();
ofstream g("adunare.out");
g<<c;
g.close();
return 0;
}