Ticket 16708
Problem 1791 -f
Submission 192054330
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
1 4
19 
2 1
1 1 1
2 1
2 1
Expected Output
19
10
10
Your Output
19
10
1
Difference
Generator Parameters
--ai_high 20 --ai_low 1 --n_high 1 --n_low 1 --q_high 4 --q_low 4 --t_high 1 --t_low 1