Solving the click_o_mania problem of hackerrank. 2 test passed. 2 timed out.