Ticket 3016
Problem 1658 -d2
Submission 151400306
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
1 2
1 2 
2 5
7 1 6 0 
Expected Output
0
2
Your Output
0
0
Difference
Generator Parameters
--l_cap 131071 --l_high 5 --l_low 0 --r_cap 131071 --r_high 5 --r_low 0 --t_cap 100000 --t_high 2 --t_low 1 --x_cap 4096 --x_high 10 --x_low 0