Now, please take some time and read the rule thoroughly.
When a user is deemed violating contest rules, we will apply the following penalties on this user:
Definition: The user has hardcoded some test cases using if-else statement.
To ensure the fairness of the contest, LeetCode will hide some test cases during the contest. When users submit incorrect submissions, LeetCode will not show the hidden test cases to the users.
Action: If the user use hardcoding test cases in the submission, but the submission get "Accepted", LeetCode will accept the submission as valid and no action would be taken against the user.
Definition: The user has precomputed the result for some or all the test cases, and added the result directly into the submission.
Action: If a user uses precomputation in the submission, we recommend that users provide the code that was used to solve the problem AND the code that was used for precomputation in the submission. If the user’s code with precomputed results passes all the final test cases, LeetCode will view the user’s submission as a valid submission.
In any case, users should submit the code that is correct to the best of their knowledge. If users find a Wrong Answer submission is judged as Accepted during the contest, users should continue to submit the correct code. LeetCode will calculate the final ranking based on the final judgment.
Weak test cases
Weak test cases that cause some incorrect submission to be judged as "Accepted".
Incorrect test cases
Incorrect test cases that cause some correct submissions to be judged as “Wrong Answer” and incorrect submissions to be judged as “Accepted”.
If the technical issue impacts either LCCN or LCUS site that leads to a significant disadvantage for either side of the users, the contest will be unrated.
If the rejudge is executed, LeetCode will rejudge all the submissions that were submitted to the problem by users who were impacted during the contest. The first Accepted submission will be taken as the final result, and the "Wrong Answer/Time Limited Exceeded" submissions made prior to the first "Accepted" submissions will be counted for penalty time.
To help us maintain efficient contest ranking updates and a smooth user experience, we encourage you to contribute any test cases before Sunday midnight, Pacific Time. Please note that late submissions may be subject to rejection.
For any other issues that may arise in the contest, LeetCode will make a reasonable judgment based on the impact of the issues, and the principle of fairness. LeetCode's decision is final and will be announced in the contest discussion post.