Ticket 13259
Problem 1644 -d
Submission 161245786
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
1
2 2 4 3
1 2
2 1
1 1
Expected Output
16
Your Output
64
Difference
Generator Parameters
--k_high 4 --k_low 1 --m_high 4 --m_low 1 --n_high 4 --n_low 1 --q_high 4 --q_low 1 --t_high 1 --t_low 1