I was confused about the reason of continuous Wrong Answer verdict, until I submitted this
[1] and get a Runtime Error verdict.
Without the assert, the program is getting wrong answer.
However in all datasets, the lower bound of X >= the upper bound of R
Please check this.
[1]: https://paste.ubuntu.com/p/W8zrBhzw6H/
Posting any code on this forum related to an ongoing contest is strictly not allowed.Please refrain from doing that. And , you might have used up some ‘x’ which has now become less than ‘r’ itself.
I want to clear up more things related to code and other things, but I am not allowed to, according to Codechef Rules of Conduct @vijju may look into this
I think this code provides no information so I posted it, is this still violates the rules? If so, I apologize for it, but I don’t have any idea else to show the problem, since the contest is nearly ended.
The contest is extended for two more days. So do not worry. Also, if you have any query, I would request you to post in as comment. The author @deluxurous will reply you there