Cod sursa(job #254839)
Utilizator | Data | 7 februarie 2009 19:37:24 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
long a,b;
f>>a>>b;f.close();
g<<a+b;g.close();
return 0;
}