Ticket 176
Problem 1631 -c
Submission 144210643
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 15
4 0
Expected Output
0 1
2 12
3 13
4 11
5 10
6 9
7 8
14 15
0 3
1 2
Your Output
-1
3 0
1 2
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