Https://ide.codingblocks.com/#/s/13322

https://hack.codingblocks.com/contests/c/474/1302

https://ide.codingblocks.com/#/s/13322

getting correct output for sample input…
wrong while submitting…!!