Cod sursa(job #1015333)
Utilizator | Data | 24 octombrie 2013 13:45:09 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.2 kb |
#include <fstream>
using namespace std;
int main()
{int a,b;
ifstream f("adunare.txt");
ofstream g("adunare.out");
f>>a;
f>>b;
g<<a+b<<" ";
f.close();
g.close();
return 0;
}