Ticket 16151
Problem 1715 -e
Submission 170548915
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 4 1
2 3 1
2 3 1
2 3 1
3 4 1
Expected Output
0 1 2 3
Your Output
0 1 2 5 
Difference
Generator Parameters
--k_high 9 --k_low 1 --m_high 5 --m_low 1 --n_high 4 --n_low 2 --w_high 1 --w_low 1