Ticket 16093
Problem 1711 -c
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
5 7 7
1 8 6 1 6 8 1 
7 9 5
4 3 7 5 7 
Expected Output
No
No
Generator Parameters
--k_high 9 --k_low 1 --row_or_col_high 9 --row_or_col_low 3 --t_high 2 --t_low 1 --val_high 9 --val_low 1