Ticket 16418
Problem 1740 -d
Submission 179478873
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 9 7
1 5 4 6 7 2 3 
3 4 9
8 5 6 4 1 9 7 3 2 
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