DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
720 stars 254 forks source link

Real number timelimit #235

Closed myungwoo closed 7 years ago

myungwoo commented 8 years ago

As I know, DOMJudge can't evaluate submission with real number timelimit such as 1.2, even if Java time factor 1.2 and problem's timelimit is 1 since 'maxruntime' is calculated by "ceiling(timefactor * timelimit)".

I wish real number timelimit. :)

eldering commented 8 years ago

I think it may be possible to change to floats nowadays, since we check the actual wall/cpu time afterwards. This means carefully checking how the timelimit is passed from DB -> API -> judgedeamon -> testcase_run -> runguard.