Show More
Commit Description:
[grader] report error when the check script crashed (i.e., when the result file is not found, while the compilation is okay)...
Commit Description:
[grader] report error when the check script crashed (i.e., when the result file is not found, while the compilation is okay)
git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@117 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
templates/all_tests.cfg.erb
| 13 lines
| 280 B
| text/plain
| TextLexer
|
|
r23 | problem do | ||
num_tests <%= num_testcases %> | ||||
full_score <%= num_testcases*10 %> | ||||
time_limit_each <%= options[:time_limit] %> | ||||
mem_limit_each <%= options[:mem_limit] %> | ||||
score_each 10 | ||||
<% 1.upto(num_testcases) do |i| %> | ||||
run <%= i %> do | ||||
tests <%= i %> | ||||
end | ||||
<% end %> | ||||
end | ||||