Invitation to CodeChef October Lunchtime 2019

Is the subtask 1 of Kth numbers correct ?

5 Likes

All getting WA in subtask 1 and AC in subtask 2 still admin be like
“We are correct”. What a confidence !! :expressionless: :clap:

5 Likes

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?

6 Likes

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 ?

1 Like

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.

1 Like

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. :pensive:

Same here. I did brute force for this formula.

1 Like

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!

1 Like

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?

1 Like

Haha, yeah! Looks like the same setter as Game of ORs in ICPC :rofl:

1 Like

can you check my solution ?? It gives Wrong Answer for subtask1.

Yes, scoreboard also has problems. Check the ranks 102, 115 and 127. @admin

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

2 Likes

I used same formula but didn’t get correct answer for subtask-1. Solution is here.

Make it rated for us at least @kingofnumbers and @jafarbadour.
I kept warning every 5-15 mins about this issue to you but you ignored me.
Now don’t just make it unrated.
You don’t even try submitting brute Force solutions ? Even after multiple comments. :unamused:
Pinged you at 8:30. Issue could have been resolved.

5 Likes

Same problem here CodeChef: Practical coding for everyone . Don’t know why its failing. (Note: 0-based indexing used)

what is maximum rating in a single contest?