Don't Panic - Episode 1 - Codesize - Puzzle discussion

bonjour , comment faire pour y jouer svp

So, if i understand well, Code-Golf is reducing a code, but to get to the best level itā€™s about hard-coding random solutions which could answer all tests and validators ?

Hard-coded solutions may or may not mean theyā€™re the shortest :wink: (I donā€™t use any hard-coded solutions myself yet some of my solutions rank high for now.)

Hello, using Python, iā€™m down to 258, any hints

Itā€™s possible Iā€™m being stupid here, but on the ā€œFew Roundsā€ test case, the exit floor and pos are reported to be 6, 14 - however this is also allegedly an elevator, which then means the clones continue - is it supposed to be 8, 14?

Scratch this, Iā€™d accidentally edited the exit floor variable

Please @Westicles share in pvt your solution in Python3 with 73 charactersā€¦ I got to 199 and Iā€™m sure missing a completely different approach.

Look at the published solutions for the non-golf version, thatā€™s probably where I got all the ideas.

iā€™m at 229 character :<

Hell ye iā€™ve done with 189 char :)))
very tricky!!!

1 Like