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