Ticket 2112
Problem 1633 -d
Submission 149687238
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
6
2 9
144 1 
6 9 
2 7
782 597 
3 3 
3 5
793 581 856 
4 4 5 
3 11
422 567 515 
3 6 6 
2 1
363 754 
4 7 
2 11
847 293 
5 1 
Expected Output
15
0
0
6
0
1
Your Output
9
0
0
6
0
1
Difference
Generator Parameters
--b_cap 1000 --b_high 1000 --b_low 1 --c_cap 1000000 --c_high 9 --c_low 1 --k_cap 1000000 --k_high 12 --k_low 1 --n_cap 1000 --n_high 3 --n_low 1 --t_cap 100 --t_high 10 --t_low 1