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