Ticket 16042
Problem 1719 -c
Submission 168586490
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
1
4 1
1 2 3 4 
3 3
Expected Output
1
Your Output
2
Difference
12
Generator Parameters
--k_high 3 --k_low 1 --n_high 4 --n_low 4 --q_high 1 --q_low 1 --t_high 1 --t_low 1