Created
June 16, 2018 13:39
-
-
Save gelias/0b30825445a94d62ddd1adfab6116c8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1 OK | |
Input: 5,5 | |
Commands: L,L,N,N,L,L | |
Output: 9,3 | |
#2 MARGEM ESQ | |
Input: 1,1 | |
Commands: O,O,S,S | |
Output: Coordenada (1) Invalida | |
#3 MARGEM SUP | |
Input: 1,1 | |
Commands: L,L,L,L | |
Output: Coordenada (1) Invalida | |
#4 MARGEM INF ESQ | |
Input: 10,10 | |
Commands: L,S,LS | |
Output: Coordenada (1) Invalida | |
#5 MARGEM INF | |
Input: 10,10 | |
Commands: S,L,S,L | |
Output: Coordenada (1) Invalida | |
#6 | |
Input: 1,10 MARGEN INF ESQ | |
Commands: O,L,S,S | |
Output: Coordenada (1) Invalida | |
#7 MARGEN INF ESQ | |
Input: 1,10 | |
Commands: S,S,N,S | |
Output: Coordenada (1) Invalida | |
#8 MARGEN SUP DIR | |
Input: 10,1 | |
Commands: L,L,L,L | |
Output: Coordenada (1) Invalida | |
#9 | |
Input: 10,10 | |
Commands: O,O,O,O,O,O,O,O,O,N,N,N,N,N,N,N,N,N,L,L,L,L,L,L,L,L,L,S,O,S,O,S,O,S,O,S,O,S,O,S,O,S,O,S,O,N,L,N,L,N,L,N,L,N,L,N,L,N,L,N,L,N,L,O,O,O,O,O,O,O,O,O,L,S,L,S,L,S,L,S,L,S,L,S,L,S,L,S,L,S | |
Output: 10,10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment