Cod sursa(job #750967)
Utilizator | Data | 23 mai 2012 19:18:31 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
using namespace std;
int main()
{
int a, b;
fstream f("in.txt",ios::in);
fstream g("out.txt",ios::out);
f >> a >> b;
g << a + b;
f.close();
g.close();
return 0;
}