Cod sursa(job #179042)
Utilizator | Data | 15 aprilie 2008 15:38:40 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
long a,c,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
f>>a>>b;
c=a+b;
g<<c<<endl;
f.close();
g.close();
return 0;
}