Ticket 17230
Problem 1919 -f1
Submission 241324677
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
4 1
2 0 2 2 
1 1 0 2 
1000000000000000000 1000000000000000000 1000000000000000000 
1 0 5 1000000000000000000
Expected Output
2
Your Output
3
Difference
Generator Parameters
--ai_high 2 --ai_low 0 --bi_high 2 --bi_low 0 --ci_high 1000000000000000000 --ci_low 1000000000000000000 --n_high 4 --n_low 2 --q_high 1 --q_low 1 --x_or_y_high 5 --x_or_y_low 0 --z_high 1000000000000000000 --z_low 1000000000000000000