Hi Anand,
On 14-12-15 11:21, Br. Anand Shenoi wrote:
Guys,
A doubt:
There is a "time limit" for each problem.
There is a "time limit overshoot" in Configuration Settings.
Does it mean that if we set the "time limit overshoot" as more than the maximum time limit for one of the problems in the contest, it will affect the others with the lower time limit?
For example:
Contest 1 has 5 problems
4 problems have 1 sec time limit. Rest 4 has 4 sec time limit. And let us say one of the submissions for 1 sec problem set goes into infinite loop. Will the problem exit as per 1 sec time limit for that problem or will I wait for the 4 sec global "time limit overshoot"?
It depends on your precise settings, but no, in general you don't have to wait 4 seconds.
The time limit overshoot is calculated for each specific problem. For example, if you use the default "time limit overshoot" of "1s|10%", then the overshoot is 1 second for any problem with a time limit of 10 seconds or less, and 10% of the time limit when it is more.
So for your 1 sec problems it will kill the submission after 2 sec and for your 4 sec problems after 5 seconds.
Best, Jaap