Ticket 17295
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
3 1 6 
3 4 5 
1 5 4
2 1 6
Expected Output
7
Your Output
10
Difference
Generator Parameters
--n_high 6 --n_low 6 --q_high 2 --q_low 1 --val_high 5 --val_low 1