Description:
[grader] fixed testcase template bug
git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@268 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r64:bf948f9ab0c9 - - 1 file changed: 1 inserted, 1 deleted
@@ -8,13 +8,13 | |||||
|
8 | <% tr_num = 0 %> |
|
8 | <% tr_num = 0 %> |
|
9 | <% testrun_info.each do |testrun| %> |
|
9 | <% testrun_info.each do |testrun| %> |
|
10 | <% tr_num += 1 %> |
|
10 | <% tr_num += 1 %> |
|
11 | run <%= tr_num %> do |
|
11 | run <%= tr_num %> do |
|
12 | tests <%= (testrun.collect {|testcase| testcase[0]}).join(", ") %> |
|
12 | tests <%= (testrun.collect {|testcase| testcase[0]}).join(", ") %> |
|
13 | <% if testrun.length==1 %> |
|
13 | <% if testrun.length==1 %> |
|
14 | - score 10 |
|
14 | + scores 10 |
|
15 | <% else %> |
|
15 | <% else %> |
|
16 | scores 10 <% (testrun.length-1).times do %>,0 <% end %> |
|
16 | scores 10 <% (testrun.length-1).times do %>,0 <% end %> |
|
17 | <% end %> |
|
17 | <% end %> |
|
18 | end |
|
18 | end |
|
19 | <% end %> |
|
19 | <% end %> |
|
20 | end |
|
20 | end |
You need to be logged in to leave comments.
Login now