Ticket 16718
Problem 1791 -f
Submission 191982272
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
79 
2 1
1 1 1
2 1
2 1
Expected Output
79
16
16
Your Output
79
16
7
Difference
Generator Parameters
--ai_high 99 --ai_low 1 --n_high 5 --n_low 1 --q_high 4 --q_low 1 --t_high 1 --t_low 1