cpt icon indicating copy to clipboard operation
cpt copied to clipboard

Use time limit from "meta.yaml" when test

Open yzy-1 opened this issue 2 years ago • 1 comments

In the current code, the program run time limit for test command of "default mode" is fixed (2 seconds). It should be loaded from meta.yaml of the problem, in the `problem.timeLimit' element.

https://github.com/cp-tools/cpt/blob/50895ecff0c62f976c455b371edd433a1f145e5e/cmd/test.go#L73

yzy-1 avatar Sep 12 '22 05:09 yzy-1