Ticket 188
Problem 1629 -e
Submission 143678372
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
7 0 10 6 4 1 
2 1 6 3 9 5 
3 6 5 3 5 15 
7 6 10 15 0 4 
6 4 11 9 0 0 
5 6 3 13 2 12 
6
9 4 5 6 6 0 
10 10 14 2 7 15 
15 0 0 11 7 12 
5 0 13 14 2 5 
0 7 7 3 8 1 
6 5 6 1 6 5 
Expected Output
15
6
Your Output
9
13
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