1633 -E
View hacks & all small testcases


Help
There are no extra restrictions for the parameters, apart from the ones implied by *_cap.
Name Meaning Current
a_b_cap The maximum value of a or b as per constraints 100000000
a_b_high The maximum value of a or b
a_b_low The minimum value of a or b
c_cap The maximum value of c as per constraints 100000000
c_high The maximum value of c
c_low The minimum value of c
edge_cap The maximum edges as per constraints 300
extra_edges_high Max x such that m = n - 1 + x
extra_edges_low Min x such that m = n - 1 + x
k_cap The maximum value of k as per constraints 10000000
k_minus_p_high The maximum extra implicit queries
k_minus_p_low The minimum extra implicit queries
n_cap The maximum number of vertices as per constraints 50
n_high The maximum number of vertices
n_low The minimum number of vertices
p_cap The maximum value of p as per constraints 100000
p_high The maximum value of p
p_low The minimum value of p
w_cap The maximum weight as per constraints 100000000
w_high The maximum weight
w_low The minimum weight
Compressed Parameters


If the compressed parameters field is non empty, the table above would be ignored and these parameters would be used instead.

For example, if you want each input to have 95 testcases, and the array size to be anywhere between 7 to 23 and you want the array values to be a random number in [63, 97], the compressed parameters would be

--t_high 95 --t_high 95 --n_high 23 --n_low 7 --val_high 97 --val_low 63
Once you modify the table, you can copy the compressed parameters from the results page under the Generator Parameters section, paste it here and edit it. After that, if you click on Stress Test, your code will only be evaluated on the parameters from the input box.

Note: You don't need to type in all parameters. If you ignore some parameters, they'd be considered as the default value from the table. For example, if you just mention "--n_high 10", all other parameters would be taken from the table, and n_high would be overwritten with 10.

How to Customize?

All parameters are editable. The array size would be a random number in [n_low, n_high].
All other variables follow this rule.
Variables with a suffix of _cap are just for reminding the original constraints. They are not editable.

Important Note: Do read the Help section at the top to find extra constraints for this problem, such as t_high*n_high <= 2*10^5. Usually, that section would also contain tips on how big/small should you choose a specific parameter.

There are 2 ways to use it. If you want the stress testing to contain testcases with specific constraints, you can either edit the table or edit the Compressed Parameters section. If you edit both of them, the compressed parameters would take priority.

Note that if you pass incorrect parameters, you'll received Constraints Violated verdict.

If the compressed parameters field is empty, the parameters would be generated from the current table values.