Description:
MERGED change set (408:410) from web/judge in branch combined-with-judge (fixed time_limit option bug)
git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@411 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
r73:34ddb0155d6f - - 1 file changed: 1 inserted, 1 deleted
@@ -37,7 +37,7 | |||||
|
37 | end |
|
37 | end |
|
38 |
|
38 | ||
|
39 | def process_options(options) |
|
39 | def process_options(options) |
|
40 |
- i = |
|
40 | + i = 3 |
|
41 | while i<ARGV.length |
|
41 | while i<ARGV.length |
|
42 | if ARGV[i]=='-t' |
|
42 | if ARGV[i]=='-t' |
|
43 | options[:time_limit] = ARGV[i+1].to_f if ARGV.length>i+1 |
|
43 | options[:time_limit] = ARGV[i+1].to_f if ARGV.length>i+1 |
You need to be logged in to leave comments.
Login now