Ticket 462
Problem 1635 -e
Submission 147171369
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 3
2 1 4
2 2 3
1 3 4
Expected Output
YES
L 4
R 1
L 2
R 3
Your Output
YES
R 10
R 11
L 12
L 13
Difference
Generator Parameters
--choose_m_dynamically 0 --m_cap 200000 --m_high 20 --m_low 1 --n_cap 200000 --n_high 4 --n_low 4