Ticket 10899
Problem 1684 -d
Submission 159666882
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
2
42 5
4654054 6482309 9041263 6135029 147878 9029623 1447576 274564 7284381 1526478 1133960 1787669 9255449 9833529 3395638 4722447 3334746 1469559 7897805 5125933 3904661 250464 4020780 5574400 7633650 3028956 6916709 5320171 3880974 5452777 5047614 7789989 941946 8096409 9596851 8955962 4667962 9364625 2704882 2823947 6011334 9904012 
15 11
9388556 4708950 8455692 7615998 4744684 3337682 3402440 918532 4982203 5230709 2603921 5815307 8627137 3332040 5366553 
Expected Output
167914557
10192204
Your Output
179652446
12403354
Difference
Generator Parameters
--n_high 50 --n_low 1 --t_high 2 --t_low 1 --val_high 10000000 --val_low 1