Cod sursa(job #1015338)
| Utilizator | Data | 24 octombrie 2013 13:54:24 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.17 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();
}
