Cod sursa(job #118998)
Utilizator | Data | 28 decembrie 2007 20:39:58 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
// Problema a+b
#include <fstream.h>
void main()
{ long a,b,c;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
c=a+b;
g<<c;
g.close();
}