From 63ae921c4099d4a1e5e081bbb33beaf572dd7fe6 Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Fri, 25 Mar 2016 17:07:06 +0800 Subject: [PATCH 1/3] =?UTF-8?q?return=20=E6=94=BE=E9=94=99=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/javascripts/homework.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/homework.js b/public/javascripts/homework.js index b03ddf1bf..3bca1606c 100644 --- a/public/javascripts/homework.js +++ b/public/javascripts/homework.js @@ -97,8 +97,8 @@ $(function(){ alert("您的答案超时了, 请检查代码是否存在死循环的错误."); } else { alert("测试失败,服务器出错."); - return; } + return; }); }; From a58ba8080c7a132d151f0c4ffad7c9814a7c2a09 Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Fri, 25 Mar 2016 21:06:25 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E7=BC=96=E7=A8=8B=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=E5=8A=A0=E4=B8=AA=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/new_user_commit_homework.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/users/new_user_commit_homework.html.erb b/app/views/users/new_user_commit_homework.html.erb index e5e2a385c..0c2a32865 100644 --- a/app/views/users/new_user_commit_homework.html.erb +++ b/app/views/users/new_user_commit_homework.html.erb @@ -30,7 +30,7 @@ 超时! - 测试错误! + 测试错误! 您的输出:
 
@@ -133,7 +133,8 @@ <% else %>
diff --git a/app/views/users/new_user_commit_homework.html.erb b/app/views/users/new_user_commit_homework.html.erb index 0c2a32865..e33362a0a 100644 --- a/app/views/users/new_user_commit_homework.html.erb +++ b/app/views/users/new_user_commit_homework.html.erb @@ -133,8 +133,9 @@ <% else %>
<% end %> diff --git a/app/views/users/user_commit_homework.html.erb b/app/views/users/user_commit_homework.html.erb index 40fd9d241..cab3c55ab 100644 --- a/app/views/users/user_commit_homework.html.erb +++ b/app/views/users/user_commit_homework.html.erb @@ -101,6 +101,7 @@