[Community Puzzle] Random Walk

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Westicles,validated by @Malte42,@Alain-Delpuch and @FredericLocquet.
If you have any issues, feel free to ping them.

1 Like

I did not find it clear that the first value of D is not to be used as a move direction. I suggest to improve on the description.

6 Likes

Maybe it should be moved to medium?

What?
It should be moved to CoC instead.

4 Likes

Thanks for the feedback, I submitted it as a clash.

@nicola suggested to move the contribution to CoC instead of submitting the approved puzzle again as a clash?

There isn’t any way to move it like that. Anyhow, it is proving to be wildly popular (38 have solved it already) so it is looking to be valuable IP.

Is there any math tip/insight to solve this or optimization to the bruteforce approach? Precomputing the calculations still slow

Edit: Was solving it recursively with unecessary overhead, sorry about the spam

I think it would be clearer if the equations are highlighted as constants…

And also missing tags

  • Loops
  • Sequences

Anyone can edit, go ahead thanks.

not every one has accesses to the contribution page only users with level 30+
what was a purpose of this puzzle? zero challenge, zero implementation difficulty.

Perhaps one of the several hundred ASCII art or BFS puzzles is more worthy of your valuable time.

You’re being sarcastic in vain, the question is perfectly reasonable, a contribution for the sake of a contribution is the last thing to do, and since you couldn’t give anything other than a sarcastic answer, it turns out that this is a contribution for the sake of a contribution.

1 Like