Ticket 17298
Problem 1925 -e
Submission 243809739
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 2 3
1 6 
2 2 
1 3 1
1 4 1
2 1 6
Expected Output
3
Your Output
6
Difference
Generator Parameters
--n_high 6 --n_low 6 --q_high 3 --q_low 1 --val_high 2 --val_low 1