[Community Puzzle] Where's Wally

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @baboulaf,validated by @Westicles,@darkhorse64 and @Quick_Kick.
If you have any issues, feel free to ping them.

Hi! Thanks for the fun challenge :slight_smile:
I managed to do 100% on validators even though I don’t pass the “Hidden in the crowd” test!
[nope]

I’m having problems with validator 1. I tried solving it in both Java and C++. No idea of what could be wrong. Anyone else having issues with it? @baboulaf

Are you sure that you are checking every valid position? You might have an off-by-one error.

3 Likes

Debug it here: Coding Games and Programming Challenges to Code Better

4 Likes

Ohh… Yeah, that was the problem :sweat_smile:

1 Like

Got 100% on all Tests and on all validators except the first one. Any hint?

Edit: Nevermind. Tested this with wally all the way to the right and had an error in my loop condition :slight_smile: Seems that Wally is all the way to the right in validator 1

1 Like

Yes. Had a problem with test #1 and made the same conclusion :slight_smile:

1 Like

Why use of regex here ?

Irrelevant tag or as a variant you can try to search line by line using regex to find position which match row in wally picture, but i am not sure how to do using regex if it possible at all.

I’ve tag it with regex because i solve it with regex for fun :wink:

The purpose of tags (in my opinion) is to show what techniques need to be used to solve a puzzle/or to show what the puzzle is about. I opened this puzzle again to remember what it is about and RegEx is NOT relevant at all here. And it doesn’t matter here that you decided to set yourself the task of solving this puzzle using RegEx, a person who is just starting to get acquainted with programming or problem solving will not use RegEx in such a task.

There are usually several ways to solve the same puzzle. I can see around a dozen published Python solutions that utilise regex – while not the majority, it’s certainly not a negligible number either. I don’t think it hurts to keep the ‘regex’ tag for this puzzle, given it’s a possibly relevant approach.