Ticket 9305
Problem 1691 -e
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
6
1 1371287 9370773
1 1392237 9189194
1 1566155 2910349
0 2271728 5456273
1 2717841 6757490
0 5469713 9009412
6
0 1667819 9236471
1 3239706 8225038
1 4055446 7852342
0 5256454 8098409
1 5608125 9641351
1 7402251 9202220
Expected Output
1
1
Generator Parameters
--interval_high 10000000 --interval_low 1 --n_high 6 --n_low 6 --t_high 3 --t_low 2