https://ide.codingblocks.com/#/s/25475 https://hack.codingblocks.com/contests/c/452/700
Your code gives no output for 5000000. Try again for it.