From e9faa02482031ed4cf9e01d29b1138f0ce78bbf0 Mon Sep 17 00:00:00 2001 From: Julien CLEMENT Date: Tue, 16 May 2023 10:38:02 +0200 Subject: [PATCH] typos in picasso Signed-off-by: Julien CLEMENT --- jujure/content/writeups/fcsc_2023/picasso.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jujure/content/writeups/fcsc_2023/picasso.md b/jujure/content/writeups/fcsc_2023/picasso.md index 50316e9..3ec6826 100644 --- a/jujure/content/writeups/fcsc_2023/picasso.md +++ b/jujure/content/writeups/fcsc_2023/picasso.md @@ -271,12 +271,12 @@ I know you understood everything but let's just see the target board So we need to get from one to the other in `0x36` moves exactly, each move swapping the 0 with an adjacent tile. -Cool, all of this simply for a slide puzzle. Each element of the state corresponds to the tile that we must push on the `0` (which represent the empty tile in the slide puzzle). Let's go and solve th... +Cool, all of this simply for a slide puzzle. Each element of the state corresponds to the tile that we must push on the `0` (which represents the empty tile in the slide puzzle). Let's go and solve th... ### But wait there was a first step -I hope you did not forgot that the state used to select which tiles are moved in +I hope you did not forget that the state used to select which tiles are moved in which order was shuffled by the first step according to our input. Maybe it's time to understand how this shuffle work. @@ -449,7 +449,7 @@ tile to go to that location if there were no other tile on the grid. For example tile `f` placed in the top left corner will have a manhattan distance of 5 to its supposed location. -So whenever the move counter of a tile becomes lower than its manhattant +So whenever the move counter of a tile becomes lower than its manhattan distance to its supposed location, you know that you will never be able to place the tile back to where it is supposed to be.