Ticket 2301
Problem 1635 -e
Submission 150354529
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 6
1 1 2
2 2 3
2 2 4
1 3 5
2 4 5
1 4 6
Expected Output
YES
L 1
R 2
L 3
L 5
R 4
R 6
Your Output
NO
Difference
Generator Parameters
--choose_m_dynamically 0 --m_cap 200000 --m_high 20 --m_low 1 --n_cap 200000 --n_high 9 --n_low 2