Ticket 16149
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 2
2 3 8
2 3 2
3 4 1
Expected Output
0 1 3 4
Your Output
0 1 3 5 
Difference
Generator Parameters
--k_high 9 --k_low 1 --m_high 5 --m_low 1 --n_high 4 --n_low 2 --w_high 9 --w_low 1