This commit is contained in:
Barrett Ruth 2025-10-02 23:07:10 -04:00
parent 0061161a90
commit 69ffc2d9dd
2 changed files with 3 additions and 2 deletions

View file

@ -422,7 +422,8 @@ Test cases use competitive programming terminology with color highlighting:
AC Accepted (passed) - Green
WA Wrong Answer (output mismatch) - Red
TLE Time Limit Exceeded (timeout) - Orange
RTE Runtime Error (non-zero exit) - Purple
MLE Memory Limit Exceeded Error (heuristic) - Orange
RTE Runtime Error (other non-zero exit code) - Purple
<
==============================================================================

View file

@ -141,7 +141,7 @@ function M.run(cmd, stdin, timeout_ms, memory_mb)
end
local mled = false
if peak_mb >= memory_mb or (code ~= 0 and not tled) and (near_cap or oom_hint) or code == 137 then
if peak_mb >= memory_mb or near_cap or oom_hint then
mled = true
end