Stress subcommand
quicktest stress | qt stress
Verify that the code execution time does not exceed what is allowed, using a random generator for multiple test cases.
Note: In this scenario there is no slower solution with which to compare the correction.
quicktest stress --target-file=main.cpp --gen-file=gen.cpp
or shorter
qt stress -t main.cpp -g gen.cpp
Demo
Subcommand Structure
quicktest stress | qt stress
Required Options
-t=<value> | --target-file=<value>
-g=<value> | --gen-file=<value>
Other Options
--test-cases=<value> | --tc=<value> [default: 1000]
--timeout=<value> | --tout=<value> [default: 2000]
Unit of time:ms
--memory-limit=<value> | --ml=<value> [default: 1000000000 - 1GB]
Unit of time:bytes
--prefix=<value> | -p=<value>
conflict with--gen-file
(Only one can be used at a time)
Flags of the
cmp
,stress
andcheck
subcommands--break-bad | --break
Break if WA, TLE or RTE states occurs--run-ac
Run test cases Accepted--run-all
Run all test cases--run-rte
Run test cases Run Time Error--run-tle
Run test cases Time Limited Exceeded--run-wa
Run test cases Wrong Answer--save-all
Save all test cases--save-bad
Save only bad cases with WA, TLE or RTE states