Skip to content

Commit

Permalink
feat: add CE
Browse files Browse the repository at this point in the history
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
  • Loading branch information
Dup4 committed Oct 25, 2023
1 parent f652bea commit 7842823
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions xcpcio_board_spider/spider/ghost/v1/ghost.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ def parse_result(self, result: str):
if result == "TL":
return constants.RESULT_TIME_LIMIT_EXCEEDED

if result == "CE":
return constants.RESULT_COMPILATION_ERROR

return constants.RESULT_UNKNOWN

def parse_teams(self):
Expand Down

0 comments on commit 7842823

Please sign in to comment.