Ticket 10876
Problem 1691 -d
Submission 159628998
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
5
13
-554331415 563195550 -486568223 829645113 -366570766 -463392680 990483276 -989669118 -845018307 392589460 68891523 -479723948 960819294 
16
-466217059 -438336878 -549415203 -23693486 332232808 -861885379 137428602 -536245822 -114592082 155373210 -541928826 345582684 444277936 285938756 73770363 548738217 
14
940085495 710960511 2161629 591789259 -348762330 52170381 -288635442 811843986 -993344689 -473755778 729652495 282818855 -782407722 -809097195 
16
-309814790 -318693086 -41460905 450800963 639114860 907941428 -892861154 420173087 -794546411 48942273 -255115553 -695983458 -905102678 -11781644 -480751795 988264271 
19
678266551 -900859736 -670670714 -514196656 -219026304 42224371 -818454748 -145190539 229961122 -518435356 -986498734 -774673144 -710214370 960140630 -684208334 -969932056 462293459 -569281156 510864227 
Expected Output
NO
NO
NO
NO
YES
Your Output
NO
NO
NO
NO
NO
Difference
Generator Parameters
--n_high 20 --n_low 10 --t_high 5 --t_low 5 --val_high 1000000000 --val_low -1000000000