I'm confused about the input, can anyone please help me with an input of 2 or more cases?
And there is a blank line after the description of mouse doors, right?
274 - Cat and Mouse
Moderator: Board moderators
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 274 - Cat and Mouse
Input:AC output:
Code: Select all
2
5 3 5
1 2
2 1
3 1
4 3
5 2
-1 -1
1 3
2 5
3 4
4 1
4 2
4 5
5 4
5 3 5
1 2
2 1
3 1
4 3
5 2
-1 -1
1 3
2 5
3 4
4 1
4 2
4 5
5 4
Code: Select all
Y Y
Y Y
Check input and AC output for thousands of problems on uDebug!