Cod sursa(job #382277)
Utilizator | Data | 13 ianuarie 2010 11:32:20 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{long a, b, x;
fstream f("adunare.in", ios::in);
f>>a; f>>b;
fstream g("adunare.out", ios::out);
x=a+b;
g<<x;
f.close();
g.close();
return 0;
}