https://www.hackerrank.com/challenges/runningtime , bug in 1st test case