Ticket 2672
Problem 1651 -d
Submission 151099511
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
3 2
4 1
4 2
5 2
4 4
3 3
4 3
5 3
Expected Output
2 2
3 1
2 2
5 1
3 4
2 3
2 3
5 4
Your Output
2 2
5 1
5 1
6 2
5 4
2 3
5 1
6 3
Difference
Generator Parameters
--co_ord_cap 200000 --co_ord_high 5 --co_ord_low 1 --help_choosing_params Help --n_cap 200000 --n_high 10 --n_low 1