Ticket 2120
Problem 1649 -f
Submission 149687698
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
10 10
7 -7 -5 0 -8 -10 0 1 9 6 
7 7 -7 5 -9 2 8 6 9 9 
-10 8 6 -9 9 -5 -6 -1 5 -2 
7 10 4
3 6 1
1 5 9
5 5 6
2 8 8
2 4 9
4 4 7
2 5 4
5 9 10
3 5 1
Expected Output
28
Your Output
19
Difference
Generator Parameters
--k_cap 1000000000 --k_high 10 --k_low 1 --n_cap 500000 --n_high 10 --n_low 1 --q_cap 500000 --q_high 10 --q_low 1 --val_cap 1000000000 --val_floor -1000000000 --val_high 10 --val_low -10