Time Limit error

code; https://ide.codingblocks.com/s/219167

How can i do it in minimum time?

I have edited your code… Try to submit it now…