Ticket 11065
Problem 1690 -e
Submission 159851880
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
69 699
238905306 868420008 340785350 330796607 580028738 60594878 802168822 238615245 574598034 316130001 930175216 323805109 533402845 501322887 888704193 689243354 602057204 848640084 16285423 934927728 19870801 359739228 985032719 112214825 814345590 214061028 94287436 21781762 134378018 584059913 545346143 943265776 16307517 486344627 161941551 663050923 167088976 866544270 776296146 99988544 639146845 623337162 234331708 429312580 744854715 577311403 843806483 353350242 897157787 52961577 994318397 107666720 158276229 670907313 481212409 955693319 366771076 246617842 977929124 944109809 902217532 968172105 457011854 44807346 17455630 156107918 929107505 97238781 978822443 
14 611
802687201 804512852 173157580 615925204 417019334 32781480 49684246 872055757 738008983 709741072 290679954 260310007 431466891 84586528 
Expected Output
49407101
10282514
Your Output

          
Difference
Generator Parameters
--k_high 1000 --k_low 1 --n_high 100 --n_low 2 --t_high 2 --t_low 1 --val_high 1000000000 --val_low 0