Show More
Commit Description:
sends whole submission to result collecter in submission reporter, instead of just user and problem
Commit Description:
sends whole submission to result collecter in submission reporter, instead of just user and problem
References:
File last commit:
Show/Diff file:
Action:
templates/all_tests.cfg.erb
| 20 lines
| 510 B
| text/plain
| TextLexer
|
|
r23 | problem do | ||
num_tests <%= num_testcases %> | ||||
|
r63 | full_score <%= num_testruns*10 %> | ||
|
r23 | time_limit_each <%= options[:time_limit] %> | ||
mem_limit_each <%= options[:mem_limit] %> | ||||
score_each 10 | ||||
|
r63 | <% tr_num = 0 %> | ||
<% testrun_info.each do |testrun| %> | ||||
<% tr_num += 1 %> | ||||
run <%= tr_num %> do | ||||
tests <%= (testrun.collect {|testcase| testcase[0]}).join(", ") %> | ||||
<% if testrun.length==1 %> | ||||
|
r64 | scores 10 | ||
|
r63 | <% else %> | ||
|
r66 | scores 10 <% (testrun.length-1).times do %>,10 <% end %> | ||
|
r63 | <% end %> | ||
|
r23 | end | ||
<% end %> | ||||
end | ||||