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