Cod sursa(job #75818)
Utilizator | Data | 6 august 2007 01:54:52 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
int main()
{ long a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
a+=b;
g<<a;
g.close(); f.close();
return 0;}