Ticket 16551
Problem 1760 -g
Submission 184338941
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
2
3 2 1
3 2 2
2 1 1
3 1 2
2 1 1
3 2 2
Expected Output
NO
NO
Your Output
NO
YES
Difference
Generator Parameters
--n_high 3 --n_low 3 --t_high 2 --t_low 2 --w_high 2 --w_low 1