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