Ticket 1702
Problem 1650 -b
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
2
6 73 81
30 61 98
Expected Output
73
61
Generator Parameters
--L_I_OR_R_I_cp 1000000000 --L_I_OR_R_I_high 99 --L_I_OR_R_I_low 1 --ai_cap 1000000000 --ai_high 99 --ai_low 1 --t_cap 10000 --t_high 2 --t_low 1