Cod sursa(job #334733)
Utilizator | Data | 27 iulie 2009 21:05:37 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<fstream>
using namespace std;
int main()
{
long a,b;
fstream f("adunare.in", ios::in);
f>>a>>b;
f.close();
fstream g("adunare.out", ios::out);
g<<a+b;
g.close();
return 0;
}