Created
September 14, 2023 01:21
-
-
Save harisfi/4735399e065f28ac305ec664ed74511b to your computer and use it in GitHub Desktop.
8puzzle.txt
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
h1 = 5 | |
d1 = |2-0|+|2-0| = 4 | |
d2 = |0-0|+|1-1| = 0 | |
d3 = |2-0|+|1-2| = 3 | |
d4 = |0-1|+|2-0| = 3 | |
d5 = |1-1|+|1-1| = 0 | |
d6 = |1-1|+|2-2| = 0 | |
d7 = |0-2|+|0-0| = 2 | |
d8 = |2-2|+|0-1| = 1 | |
h2 = 4 + 0 + 3 + 3 + 0 + 0 + 2 + 1 = 13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment