Skip to content

Instantly share code, notes, and snippets.

@damned
Created March 1, 2017 10:52
Show Gist options
  • Save damned/0f1d173d3cc29481f8de83932ce14d44 to your computer and use it in GitHub Desktop.
Save damned/0f1d173d3cc29481f8de83932ce14d44 to your computer and use it in GitHub Desktop.
5 5
1 2 N
LMLMLMLMM
3 3 E
MMRMMLMRRM
4 1 S
MLMLMRMRM
Expected Output:
1 3 N
5 1 E RIP
5 0 S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment