Ticket 15970
Problem 1714 -f
Submission 166691796
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
7 4 4 4
Expected Output
YES
1 4
4 5
5 6
6 2
5 7
7 3
Your Output
No
Difference
YESNo
1 4
4 5
5 6
6 2
5 7
7 3
Generator Parameters
--n_high 7 --n_low 7 --t_high 1 --t_low 1