Ticket 6049
Problem 1671 -d
Submission 155140122
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
92 1699
54 309 263 29 878 623 576 564 381 478 960 669 449 529 638 447 746 559 805 933 661 464 780 400 650 956 709 171 974 777 614 989 946 409 851 962 962 625 882 947 334 12 165 281 556 950 692 998 684 682 440 532 203 709 921 307 137 40 553 376 739 105 711 720 233 34 821 385 153 529 611 426 346 519 281 718 962 921 457 790 177 978 706 619 988 447 662 680 138 353 381 294 
18 1855
568 573 348 945 847 130 291 750 371 179 146 615 293 149 827 722 53 735 
Expected Output
27370
7159
Your Output
27373
7159
Difference
Generator Parameters
--n_high 200 --n_low 1 --t_high 2 --t_low 1 --val_high 1000 --val_low 1 --x_high 10000 --x_low 1