Ticket 11030
Problem 1691 -b
View hacks & all small testcases

Unable to dry run this testcase?
Try making a new request with small values of n_high, t_high, *_high, etc.


Retry
Input
9
8
141390 180198 341729 496048 509320 561192 601510 958954 
3
115517 256288 869101 
2
109183 775524 
2
291943 962840 
3
7998 714990 769249 
3
448579 683690 772526 
6
13542 119819 153615 263775 416839 438724 
3
404 528311 800804 
4
77120 256367 311938 574804 
Expected Output
-1
-1
-1
-1
-1
-1
-1
-1
-1
Generator Parameters
--n_high 9 --n_low 1 --t_high 10 --t_low 1 --val_high 1000000 --val_low 1