Unable to dry run this testcase?
Try making a new request with small values of n_high, t_high, *_high, etc.
1 1 0 0
1
Traceback (most recent call last): File "/submission.py", line 67, in <module> for i in range(prePos+1, pos): NameError: name 'prePos' is not defined