Ticket 15485
Problem 1667 -c
Submission 162840234
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
Expected Output
5
1 2
2 1
3 5
4 4
5 3
Your Output
6
1 8
2 7
3 5
5 4
6 2
8 1
Difference
Generator Parameters
--n_high 50 --n_low 1