Cod sursa(job #1146844)
Utilizator | Data | 19 martie 2014 12:42:11 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
using namespace std;
int main()
{int a,b,s;
ifstream f("suma.in");
ofstream g("suma.out");
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}