Cod sursa(job #750968)
Utilizator | Data | 23 mai 2012 19:20:25 | |
---|---|---|---|
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;
ifstream f("in.txt");
ofstream g("out.txt");
f >> a >> b;
g << a + b;
f.close();
g.close();
return 0;
}