Ticket 16543
Problem 1760 -g
Submission 182718256
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
11 5 7
1 11 1
11 10 2
6 11 1
4 1 1
9 7 2
1 8 1
3 11 1
5 7 1
10 2 2
11 9 1
Expected Output
NO
Your Output
YES
Difference
Generator Parameters
--t_high 1 --t_low 1 --w_high 2 --n_high 11 --n_low 11