Ticket 17258
Problem 1919 -f1
Submission 1
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
7 9
4 0 7 9 1 5 7 
3 3 0 8 0 5 5 
1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 1000000000000000000 
7 9 4 1000000000000000000
1 0 3 1000000000000000000
6 8 7 1000000000000000000
2 5 4 1000000000000000000
7 5 1 1000000000000000000
3 8 0 1000000000000000000
3 5 7 1000000000000000000
6 7 6 1000000000000000000
6 0 8 1000000000000000000
Expected Output
21
17
19
23
20
20
26
25
21
Your Output
23
20
22
23
20
20
26
25
21
Difference
Generator Parameters
--ai_high 9 --ai_low 0 --bi_high 9 --bi_low 0 --ci_high 1000000000000000000 --ci_low 1000000000000000000 --n_high 9 --n_low 2 --q_high 9 --q_low 1 --x_or_y_high 9 --x_or_y_low 0 --z_high 1000000000000000000 --z_low 1000000000000000000