Ticket 14815
Problem 1651 -d
Submission 162203802
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
24
4 1
4 5
3 4
4 3
3 5
3 2
4 2
2 2
2 1
1 4
5 5
5 2
5 4
1 5
2 3
5 1
1 3
2 5
1 2
3 1
3 3
1 1
4 4
2 4
Expected Output
4 0
4 6
3 6
5 3
3 6
3 0
4 0
0 2
2 0
0 4
5 6
5 3
5 3
0 5
0 3
5 0
0 3
2 6
0 2
3 0
5 3
0 1
4 6
0 4
Your Output
4 0
4 6
3 6
5 3
3 6
6 2
6 2
0 2
2 0
0 4
6 5
6 2
6 4
0 5
0 3
6 1
0 3
2 6
0 2
3 0
5 3
0 1
6 4
0 4
Difference
Generator Parameters
--co_ord_high 5 --co_ord_low 1 --help_choosing_params Help --n_high 25 --n_low 1