Ticket 671
Problem 1630 -a
Submission 147775656
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
32 31
32 16
Expected Output
0 1
2 28
3 29
4 27
5 26
6 25
7 24
8 23
9 22
10 21
11 20
12 19
13 18
14 17
15 16
30 31
0 15
1 30
2 29
3 28
4 27
5 26
6 25
7 24
8 23
9 22
10 21
11 20
12 19
13 18
14 17
16 31
Your Output
31 30
0 1
16 14
15 17
3 28
4 27
5 26
6 25
7 24
8 23
9 22
10 21
11 20
12 19
13 18
0 15
16 31
1 30
2 29
3 28
4 27
5 26
6 25
7 24
8 23
9 22
10 21
11 20
12 19
13 18
14 17
Difference
Generator Parameters
--pow_2_for_n_cap 16 --pow_2_for_n_high 6 --pow_2_for_n_low 5 --t_cap 400 --t_high 4 --t_low 1