To those programmers who use the header
<bits/stdc++.h> , I strongly recommend them to stop using this header.I know its convenient to use the header as you don’t need to include any other header but it isn’t any standard header of C++ and you’ve no idea what it will do to the program.
More information: More info
As an example I’m providing 2 of my codes. The only difference between them is that one uses
<bits/stdc++.h> (and gives Wrong Answer for one of the test cases) and another does not use
<bits/stdc++.h> (and gives Correct Answer for the same test case)
The problem is GMEDIAN, from November Long Challenge. I’ve written an editorial on the question as well.
In case you need : Editorial
PS: Yes. I had a tough time debugging this