Ticket 14755
Problem 1695 -e
Submission 162036393
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
8
5 6
1 16
1 3
14 14
4 3
13 3
10 11
3 14
Expected Output
-1
Your Output
2 8
1 16 1 3 14 14 5 0 
3 4 3 13 3 14 6 0 
LRLRLRU�
LRLRLRD�
ULRLRUU�
DLRLRDD�
Difference
Generator Parameters
--n_high 9 --n_low 1