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