Ticket 16230
Problem 1735 -e
Submission 174428429
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
6 3 7 
5 2 8 
7
1 4 5 5 3 7 5 
3 0 9 8 8 1 6 
Expected Output
YES
0 13 10 
7 8
NO
Your Output
YES
1 4 0 
7 8
NO
Difference
Generator Parameters
--d_high 9 --d_low 0 --n_high 9 --n_low 1 --t_high 2 --t_low 1