Ticket 16991
Problem 1847 -d
Submission 212934178
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 2 1
11
2 2
2 2
1
Expected Output
0
Your Output
-1
Difference
Generator Parameters
--m_high 2 --m_low 1 --n_high 2 --n_low 1 --q_high 2 --q_low 1