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