Ticket 17304
Problem 1925 -e
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
6 3 2
2 1 6 
6 3 6 
1 5 8
2 1 6
Expected Output
18
Your Output
24
Difference
Generator Parameters
--n_high 6 --n_low 6 --q_high 9 --q_low 1 --val_high 9 --val_low 1