### xuanquang1999's blog

By xuanquang1999, history, 7 months ago, ,

I'm solving problem L — Windy Path from 2016-2017 ACM-ICPC Pacific Northwest Regional Contest (Div. 1). But, when I submitted my solution, I got "Denial of Judgement". I tried to resubmit it many times, but nothing changed. What should I do? Thanks in advance.

•
• +8
•

 » 7 months ago, # |   +5 There seems to be a problem with the checker for that task. I don’t know any more details on this.
 » 7 months ago, # |   0 I've just made a "Denial of Judgement" search on Codeforces, and found these:MikeMirzayanov's blogluyi0619's blogSaeed.Sryhini's blogQuoting from MikeMirzayanov's blog:"It should be mentioned that apart from standard verdicts, you can get "Denial of judgement", which usually means that your solution can't be launched, or it has unexpectedly failed. For example, is the Delphi array is too big, the compiler compiles the code, but the result will be the incorrect win32 exe-file. Solutions with the verdicts like "Compilation failed", "Denial of judgement", "Judgement failed" will be ignored while summing the results."
 » 7 months ago, # |   -8 Denial of Judgement means the checker returns FAIL. Even though it is a technical error, it's most likely that your solution is indeed incorrect. So you can (sometimes) consider it as Wrong Answer.P/s: In some case, your code provides a better solution than the author's one. You will get Denial of Judgement and in this case, you have to worsen your code :P
 » 7 months ago, # |   +13 It looks like your answer is incorrect, but the checker is crashing. You can assume that this is just a regular WA. More specifically, you are printing "1 2 3 4" for the first test case, which doesn't match the given turn sequence. I can try to fix it if I can find the original source code of the checker (I'm not sure where it is now).
 » 4 months ago, # |   +15 Fixed:  if (ccw(px[arr[i]],py[arr[i]],px[arr[i+1]],py[arr[i+1]],px[arr[i+2]],py[arr[i+2]]) != (s[i] == 'L')) { quitf(_wa, "Path is invalid 2 %d %s", i, s[i]); } -> if (ccw(px[arr[i]],py[arr[i]],px[arr[i+1]],py[arr[i+1]],px[arr[i+2]],py[arr[i+2]]) != (s[i] == 'L')) { quitf(_wa, "Path is invalid 2 %d %c", i, s[i]); }