Code execution problem

i have tried to implement this problem in below given url of code but i am getting some error. i can’t detect anything wrong in my code. so can u tell me where i have gone wrong ?

Hi @Raghavsingla522

I have made some minor changes. You would be able to figure them out. Now it works.

Link : https://ide.codingblocks.com/s/215769

Hope it Helps.