Cod sursa(job #1252083)
Utilizator | Data | 30 octombrie 2014 12:59:16 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
using namespace std;
int main()
{ int a,b;
ifstream f("adunare.in");
f>>a>>b;
ofstream g("adunare.out");
g<<a+b<<endl;
f.close();
g.close();
return 0;
}