Ticket 5314
Problem 1635 -d
Submission 154070740
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
8 2
61447576 66135029 163391699 199029623 269041263 294654054 350147878 766482309 
Expected Output
0
Your Output

          
Difference
Generator Parameters
--n_high 50 --n_low 1 --p_high 6 --p_low 1 --val_high 1000000000 --val_low 1