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