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