From daebf33b4ed470d20263f107c9c218ed68f8a8b3 Mon Sep 17 00:00:00 2001 From: t123yh Date: Tue, 22 Aug 2017 16:34:54 +0800 Subject: [PATCH] Check null for time & memory before displaying them. --- views/submission_content.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/submission_content.ejs b/views/submission_content.ejs index 92e8fff..d0caa38 100644 --- a/views/submission_content.ejs +++ b/views/submission_content.ejs @@ -57,10 +57,10 @@
得分率 {{ Math.trunc(curCase.result.scoringRate * 100) }}
-
用时 +
用时 {{ curCase.result.time }} ms
-
内存 +
内存 {{ curCase.result.memory }} KiB