Ticket 3681
Problem 1633 -d
Submission 153018643
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
8
2 11
54 309 
9 1 
2 11
576 564 
4 3 
3 5
449 529 638 
7 1 1 
1 5
661 
6 
3 12
650 956 709 
5 8 6 
1 1
946 
2 
1 10
962 
6 
1 7
334 
1 
Expected Output
9
4
0
0
8
0
0
0
Your Output
0 0 0 0 0 0 0 9 9 9 1 1 0 0 0 0 0 0 0 0 0 0 4 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
Difference
Generator Parameters
--b_high 1000 --b_low 1 --c_high 9 --c_low 1 --k_high 12 --k_low 1 --n_high 3 --n_low 1 --t_high 10 --t_low 1