Ticket 16830
Problem 1797 -d
Submission 201748655
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
4 2
0 0 1 -1 
3 2
1 2
4 2
2 2
1 4
Expected Output
-1
Your Output
0
Difference
Generator Parameters
--m_high 2 --m_low 1 --n_high 4 --n_low 2 --val_high 1 --val_low -1