https://ide.codingblocks.com/s/67283
The above code is failing for last test case. Can you please tell me what corner case am I missing out?
https://ide.codingblocks.com/s/67283
The above code is failing for last test case. Can you please tell me what corner case am I missing out?
Amartya ur code is write but there is some issue of order of pair which were the output just make loop of j from i+1 to n
i have modified ur code
see this
https://ide.codingblocks.com/s/67293
something is wrong, the code for this question is not getting submitted
i have submitted code before giving
ok please mark you doubt as resolved
Hey Amartya,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.