Cod sursa(job #158806)
Utilizator | Data | 13 martie 2008 20:27:57 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include <fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
int main()
{f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}