i had written exact code as sir’s code but always getting wrong on test case 11 on hacker rank question :: https://www.hackerrank.com/challenges/journey-to-the-moon/problem?isFullScreen=true
sir’s code :: https://ide.codingblocks.com/s/4967
my code id is 168016 on codingblocks ide