Skip to content

Instantly share code, notes, and snippets.

@oha-yashi
Created April 7, 2020 00:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oha-yashi/e06cdecd0d288c6c7063691b5ecddd91 to your computer and use it in GitHub Desktop.
Save oha-yashi/e06cdecd0d288c6c7063691b5ecddd91 to your computer and use it in GitHub Desktop.
sudoku/log $ ./log test
log solving steps of test
0 - 0 : start
1 - 1 : two pairs -> delete num except pair
1 - 3 : read LineRowBlock and delete
1 - 4 : onlyone in LineRowBlock -> input
1 - 5 : onlyone in data -> input
2 - 3 : read LineRowBlock and delete
2 - 4 : onlyone in LineRowBlock -> input
2 - 5 : onlyone in data -> input
3 - 1 : two pairs -> delete num except pair
3 - 3 : read LineRowBlock and delete
3 - 4 : onlyone in LineRowBlock -> input
3 - 5 : onlyone in data -> input
4 - 3 : read LineRowBlock and delete
4 - 4 : onlyone in LineRowBlock -> input
4 - 5 : onlyone in data -> input
5 - 1 : two pairs -> delete num except pair
5 - 2 : two pairs -> delete pair in LineRowBlock
5 - 3 : read LineRowBlock and delete
5 - 4 : onlyone in LineRowBlock -> input
5 - 5 : onlyone in data -> input
6 - 2 : two pairs -> delete pair in LineRowBlock
6 - 4 : onlyone in LineRowBlock -> input
6 - 5 : onlyone in data -> input
ALL complete!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment