Cod sursa(job #1211025)
Utilizator | Data | 21 iulie 2014 21:36:57 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
using namespace std;
int main()
{int a,b;
ifstream f;f.open("adunare.in");
ofstream g;g.open ("adunare.out", ofstream::out);
f>>a;f>>b;g<<a+b;
f.close();
g.close();
}