Cod sursa(job #635086)
Utilizator | Data | 18 noiembrie 2011 14:08:45 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
using namespace std;
ifstream f("in.txt");
ofstream g("out.txt");
int a,b;
int main()
{
f>>a>>b;
g<<a+b<<endl;
f.close();
g.close();
return 0;
}