Ticket 4611
Problem 1665 -e
Submission 153357739
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
1
50
58588 63873 87045 91631 1990 27818 46680 68707 2549 9749 56451 4716 45196 62747 29620 45698 8746 11504 59022 64676 53044 55149 25574 39725 37252 91848 62813 50005 76994 75271 52583 70964 86867 81324 6667 29505 45057 50919 11850 43612 68021 6202 86510 29479 9480 48411 78347 27930 62954 13076 
5
3 44
21 25
6 8
32 47
40 47
Expected Output
4087
39853
65274
6715
15674
Your Output
1990
39853
65274
6715
15674
Difference
Generator Parameters
--n_high 100 --n_low 2 --q_high 10 --q_low 1 --t_high 1 --t_low 1 --val_high 100000 --val_low 0