This might seem like a rant, but solving practice questions on Codechef is really a headache. You might think you have the right logic, submit your code, but get a wrong answer. Okay, maybe I will look at the editorial. I look at the editorial but the explanation is exactly what I did. Maybe there is a bug that is pretty small and I am unable to find. So, I check other AC’ed solutions. But they are also pretty much what I am trying to do. So, back to square one, I still don’t know why my code is wrong. So, I post it on Discuss, hoping some keen-eyed individuals might be able to solve the issue. But sadly, most of them are a bunch of circlejerks obsessed with “Plagiarism” and pulling others down. So, I still don’t know why my code was wrong.
Please for the love of God, can we have open test cases for questions in Practice. I don’t want to spend 3 hours debugging code with perfect logic due to some sly corner cases maybe, or some integer overflow. Most big sites already have that, so why can’t we have it here as well. For those who don’t want to see the test cases, we can have an option to see the failing test cases when we want to.
Okay, I am done.