Ticket 15233
Problem 1630 -a
Submission 162420011
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
2
16 5
8 7
Expected Output
0 10
1 14
2 13
3 12
4 11
5 15
6 9
7 8
0 1
2 4
3 5
6 7
Your Output
1 14
2 13
3 12
4 11
6 9
7 8
0 10
5 15
-1
Difference
Generator Parameters
--pow_2_for_n_high 4 --pow_2_for_n_low 2 --t_high 2 --t_low 1