Turns out that the arena returns 840000 milliseconds in old problems , where the supposed value is 2000. 840000 is probably some magic number TC uses to mark a default not existing. For now it is best to use this if-then-else. It is very unlikely a new problem appears that really has a 840 seconds time limit.
Turns out that the arena returns 840000 milliseconds in old problems , where the supposed value is 2000. 840000 is probably some magic number TC uses to mark a default not existing. For now it is best to use this if-then-else. It is very unlikely a new problem appears that really has a 840 seconds time limit.