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