From 8f48f843067710f62db7e66c058a557eee6468be Mon Sep 17 00:00:00 2001 From: Maarten Sijm <9739541+mpsijm@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:43:41 +0100 Subject: [PATCH] [verdict] Add missing verdict abbreviations for NO-OUTPUT and OUTPUT-LIMIT --- bin/verdicts.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/verdicts.py b/bin/verdicts.py index b4481bf9..58c86689 100644 --- a/bin/verdicts.py +++ b/bin/verdicts.py @@ -100,8 +100,10 @@ def from_string(s: str) -> Verdict: return Verdict.TIME_LIMIT_EXCEEDED case 'RUN-ERROR' | 'RUN_TIME_ERROR' | 'RUNTIME_ERROR' | 'RTE': return Verdict.RUNTIME_ERROR - case 'NO-OUTPUT': + case 'NO-OUTPUT' | 'NO': return Verdict.WRONG_ANSWER + case 'OUTPUT-LIMIT' | 'OLE': + return Verdict.RUNTIME_ERROR case 'COMPILER-ERROR' | 'CE': return Verdict.COMPILER_ERROR case 'CHECK-MANUALLY':