I hope I reach 3 stars after this contest
maximum rating that can be obtained in a single contest is fixed so thats not possible.
but in a few contest you will be 6-7 star easily
Author’s solution seems incorrect ( I am 99.99% sure) for Kth Numbers.
No one is replying to comments about this issue.
@jafarbadour @teja349 @kingofnumbers @kal013
Can anyone find any issue in this solution CodeChef: Practical coding for everyone ?
Edit :
Added comment 2.5 hours ago (8:29 pm) about this issue. Still no reply.
So I assume contest won’t be unrated and problem will be correct.
Please help me in finding bug.
Is the subtask 1 of Kth numbers correct ?
All getting WA in subtask 1 and AC in subtask 2 still admin be like
“We are correct”. What a confidence !!
First subtask seems wrong for kth numbers. My code gives WA if i exit before reading n for 10th testcase and gives SIGABRT if i read n for 10th case?
Maybe the same thing is happening with me here : CodeChef: Practical coding for everyone
The interesting part is what gone wrong after i changed it to this :
https://www.codechef.com/viewsolution/27584185
Can anyone help me understand ?
Can anybody tell me what’s wrong with this solution for first subtask? CodeChef: Practical coding for everyone I’ve stress-tested with another one that got it and found no wrong case.
My solution uses naive multiplication on smaller testcases and passes. Most probably there would be a bug in your code.
tagging yourself ? XD \hspace{0mm}
Mine is simple brute force.
Same here. I did brute force for this formula.
I kept getting WA on the small test case. In fact, I tried asserts and it seems that there is an issue with test cases. I tried A_i\ge -10^9 and it gave SIGABRT!
Did anyone get the first subtask right ?
Same happened to me, I think. I don’t know FFT and other stuff but, CodeChef: Practical coding for everyone this O(n*n) solution should pass the first test case. Isn’t it?
Haha, yeah! Looks like the same setter as Game of ORs in ICPC
My solution passed for first subtask in the contest only but why my submission is removed I got AC on first subtask in the contest I wasted my 2 hours on single problem only and Now that submission is removed why?? This rejudging criterion is ridiculous why people can’t bugless and fully tested problems for such a great contest rejudging after the contest tells us that sometime before you were right I joyed but later on when I saw the solution removed completely disgusting situation by codechef