Ticket 16706
Problem 1791 -f
Submission 192046957
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
1
2 5
3 1 
2 1
1 1 2
1 1 2
1 1 2
2 2
Expected Output
3
1
Your Output
3
0
Difference
Generator Parameters
--ai_high 5 --ai_low 1 --n_high 3 --n_low 1 --q_high 5 --q_low 1 --t_high 1 --t_low 1