Ticket 16092
Problem 1714 -f
Submission 169604519
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
1
8 1 5 6
Expected Output
YES
1 2
2 4
4 5
5 6
6 7
7 3
3 8
Your Output
YES
2 1
2 4
5 4
6 5
7 6
8 3
2 8
Difference
Generator Parameters
--n_high 9 --n_low 3 --t_high 1 --t_low 1