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