Ticket 32
Problem 1629 -e
Submission 143685827
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

11


11
Difference
Generator Parameters
--n_half_cap 500 --n_half_high 3 --n_half_low 1 --t_cap 100 --t_high 2 --t_low 1 --val_cap 1073741823 --val_high 9 --val_low 0