修改判题数据库

This commit is contained in:
virusdefender
2015-08-17 12:48:10 +08:00
parent 3f76df3079
commit 537da5d795
18 changed files with 217 additions and 113 deletions

View File

@@ -156,8 +156,8 @@ require(["jquery", "avalon", "editor", "uploader", "bsAlert", "csrfToken", "tagE
$id: "addProblem",
title: "",
description: "",
cpu: 1000,
memory: 256,
timeLimit: 1000,
memoryLimit: 256,
samples: [{input: "", output: "", "visible": true}],
hint: "",
visible: true,

View File

@@ -46,7 +46,7 @@ require(["jquery", "codeMirror", "csrfToken", "bsAlert"], function ($, codeMirro
results[data.result].message +
'!   ';
if (!data.result) {
html += "CPU time: " + data.accepted_answer_info.time + "ms   ";
html += "CPU time: " + data.accepted_answer_time + "ms   ";
}
html += ('<a href="/my_submission/' + submissionId + '/" target="_blank">查看详情</a></div> </div>');