Ticket 15199
Problem 1661 -f
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
50
2090009 4450557 6799054 9294533 38869086 47358836 92457843 102650473 113441282 118318965 137197688 147717943 148667059 164349048 213032187 222172900 239906462 250769165 258518342 277297613 280704547 288614603 295857432 324023485 328150801 333318704 334217795 384545512 385600272 498837545 537248872 574995643 576852029 613359746 621402163 623980546 651129591 668178173 685398834 738051776 787649168 808725274 844215983 853252540 853753968 864237931 876473728 896020587 921892710 931008010 
1000000000000000
Expected Output
818
Generator Parameters
--m_high 1000000000000000 --m_low 1000000000000000 --n_high 50 --n_low 50 --val_high 1000000000 --val_low 1