Ticket 16873
Problem 1740 -d
Submission 209289714
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 4 2
2 1 
3 3 9
7 9 2 5 3 6 1 8 4 
Expected Output
YA
TIDAK
Your Output
YA
YA
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