Ticket 16485
Problem 1628 -c
Submission 182908277
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
4
11 7 3 13 
12 9 13 9 
0 11 3 5 
11 0 8 1 
2
12 7 
7 12 
Expected Output
11
11
Your Output
YES
YES
Difference
Generator Parameters
--n_half_high 3 --n_half_low 1 --t_high 2 --t_low 1 --val_high 9 --val_low 0