This problem from timus , For this problem, I got AC by this solution. The solution is not working in my codeblocks IDE, but when I reduce the constraints then it works in my CodeBlocks IDE. Currently I have Used codeblocks 20.03 version. Can anyone please help me ? Thanks in advance.