Ticket 14937
Problem 1661 -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
100
21702 30711 9579 23794 5652 8192 11627 9118 15355 22980 12786 6474 3367 25991 9053 3131 19657 15790 13009 792 18198 14147 9908 25967 28104 12917 16178 13358 1179 23316 10937 21034 24017 31001 2685 23707 9903 20764 1781 5022 17406 5340 29788 21170 16010 25531 1841 6459 16294 23359 6327 8963 7591 14227 31606 4276 30820 1027 24504 8287 26045 23428 18445 30200 11793 14633 3527 29655 6342 22703 30079 9016 18628 9970 21390 11452 10490 17014 16533 24806 26840 3039 24053 20639 2260 18041 10840 30131 30437 18609 26150 27474 15115 15513 2065 13967 13253 28776 16778 7908 
Expected Output
14 13 14 14 13 2 14 12 10 13 14 14 13 13 13 14 15 13 15 12 14 14 13 12 12 15 14 13 14 13 15 14 15 15 11 14 12 13 15 12 7 13 13 14 14 14 15 14 14 10 13 14 13 14 14 13 13 14 12 11 12 13 14 12 15 15 13 13 14 12 9 12 13 14 13 13 13 14 15 14 12 11 15 11 13 15 12 14 15 15 14 14 14 15 15 12 15 12 14 13
Generator Parameters
--n_high 100 --n_low 100 --val_high 32767 --val_low 0