code: https://ide.codingblocks.com/s/215791 Question: https://hack.codingblocks.com/app/contests/1289/447/problem 1test case failing