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