Closest Number Hackerrank Solution Cpp Compiler