|
|
@ -15,7 +15,7 @@ const getSubmissionInfo = (s, displayConfig) => ({ |
|
|
|
|
|
|
|
|
|
|
|
const getRoughResult = (x, displayConfig, roughOnly) => { |
|
|
|
const getRoughResult = (x, displayConfig, roughOnly) => { |
|
|
|
let max = 0; |
|
|
|
let max = 0; |
|
|
|
if (x.result.judge) { |
|
|
|
if (x && x.result && x.result.judge) { |
|
|
|
_.forEach(x.result.judge.subtasks, function (item) { |
|
|
|
_.forEach(x.result.judge.subtasks, function (item) { |
|
|
|
_.forEach(item.cases, function (one) { |
|
|
|
_.forEach(item.cases, function (one) { |
|
|
|
max = Math.max(max, one.result.time); |
|
|
|
max = Math.max(max, one.result.time); |
|
|
|