[Community Puzzle] The weight of words

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Darazdeblek,validated by @papyjo,@FredericLocquet and @InSync.
If you have any issues, feel free to ping them.

I don’t get the algorithm to decrypt.

Should you calculate the weight of each row/column in the beginning, before each step of before each rotation?

Ok, you have to calculate weights before each rotation.

Yes, the weights have to be calculated for the columns and the rows at each step but it seems like you figured it out :slight_smile:

Hello, I can’t figure this out.
@tglaria says:

  • Method 1: you have to calculate weights before each rotation, so before each column rotation and before each row rotation (“on-the-fly”)

but you @Darazdeblek say:

  • Method 2: the weights have to be calculated at each step, meaning (at least for me) that the weights need to be calculated before doing the rotations of all the columns and rows for the current step.

EDIT: I’ve walked through it on paper and compared with my algorithm, and found my mistake.
Indeed, you need to apply Method 1 :slightly_smiling_face:
Thanks for the cool puzzle! It’s really satisfying to see the decoded result once it works!

1 Like

I spent much longer on this than I should have because of a silly mistake.
It’s a great puzzle, but it’s one where it’s hard to figure out what’s going wrong, because even a slight mistake can make the output wildly wrong.

Please add to the Puzzle statement that the weights should be calculated before each rotation. This will save a lot of people from a lot of headaches. :wink: