So you mean the top solutions in the all-languages leaderboard? I seldom check that - thatâs why I didnât understand what you referred to until just now. I assumed you meant the individual language-specific leaderboards, so thatâs why I thought your claim covered the solutions of yours and mine.
My view is this: no matter those top codes are legit or not, I would like to see more cases added to this puzzle and all solutions be re-ranked.
This would disqualify hardcoded solutions (for a moment, but not forever, new harcoded solutions will appear). But it wonât disqualify solutions including system calls, which is worse in my opinion, because harcoding is an interesting practise, whereas system calls gives the advantage to some languages.
For example, if youâre very good in bash and you know how to do a system call in C++ (but there are many others langages involved), you donât need to be good in C++ to win against all other C++ players.
If CG forbid hardcode, please forbid system calls to. I donât think it is so difficult, you just have to check some keywords depending on language.
you can always figure out the full range of moves, and print each option randomly, this brings it down to 66 or so letters⌠but the randomness is so astronomical, that you are just a lucky SOB if you get it.
if i were to guess, itâs around 5^20? 30? some massive number, not impossible. but not in your favor. 5^20 is around 95 trillion.
you could even reduce this drastically but then it jumps to 70 or 75 characters. and itâs random chance.
import random
while 1:print(random.choice([âviableDirectionsâ]))
I think the purpose here is to make you get out of your confort zone, make you think out of the box. Also, this kind of exercise make me thik that we are training a AI that focus in generate the best âcompiled code chunkâ.