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