srm635/Div2Easy.cpp answer modified