Ticket 15126
Problem 1684 -c
Submission 162422888
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
1
3 2
6 6 
5 4 
7 6 
Expected Output
1 2
Your Output
-1
Difference
Generator Parameters
--answer_exists 0 --col_high 9 --col_low 1 --row_high 9 --row_low 1 --t_high 1 --t_low 1 --val_high 9 --val_low 1