There is time limit error in test case 2. I run test case 2 input.
It matches the same output of your given test case 2 output.
Please give me the solution of the code or please tell my error
Here is the ide link:
https://ide.codingblocks.com/s/50019