提交 ced7d8f9 编辑于 作者: 刘 玉河's avatar 刘 玉河
浏览文件

Merge branch 'feat_submission_status' into 'main'

feat: add comment on evaluation failure

See merge request !2
加载中
加载中
加载中
加载中
+3 −0
原始行号 差异行号 差异行
@@ -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: