Ticket 9304
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
3
5
1 960 9043
0 1127 9190
1 2778 2780
1 4550 7097
1 4843 6799
5
0 2556 3410
1 2569 3519
1 2797 5264
0 4361 6266
0 4511 8953
5
0 421 1611
1 2152 7115
1 3120 4263
0 3431 5401
0 4263 4834
Expected Output
1
1
2
Generator Parameters
--interval_high 10000 --interval_low 1 --n_high 5 --n_low 5 --t_high 3 --t_low 2