Ticket 16396
Problem 1740 -d
Submission 178642706
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
4 4 5
2 1 5 3 4 
3 3 7
7 2 1 3 5 4 6 
Expected Output
YA
YA
Your Output
YA
TIDAK
Difference
Generator Parameters
--k_high 9 --k_low 1 --row_or_col_high 9 --row_or_col_low 3 --t_high 2 --t_low 1