From 455bb850381c3774e1a9ff7678bf7db057365885 Mon Sep 17 00:00:00 2001 From: river Date: Wed, 12 Jun 2024 11:59:57 +0800 Subject: [PATCH] feat: add comment on evaluation failure --- submit.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/submit.py b/submit.py index 24bde9b..0daebbd 100755 --- a/submit.py +++ b/submit.py @@ -109,6 +109,9 @@ if __name__ == "__main__": if not judge_time: print("Submission %s is still in queue." % submission_id) else: + if score < 0: + print("Submission %s for evaluation has failed. We are currently experiencing issues with the evaluation system. Please check official updates and try again later. This submission will not be counted into your quota." % submission_id) + exit(0) print("Submission %s score: %s" % (submission_id, score)) exit(0) else: -- GitLab