Cod sursa(job #853064)
Utilizator | Data | 12 ianuarie 2013 07:12:32 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream>
using namespace std;
ifstream is("a+b.in");
ofstream os("a+b.out");
int main()
{
int a, b, c;
is >> a >> b;
c = a + b;
os << c;
is.close();
os.close();
return 0;
}