New answers tagged

0 votes

The Hydra Game algorithm

Glad it's not just me facing the same problem. I also cannot reproduce the expected value of 938038. The algorithm is definitely unclear. I have tried 4 variants of what I think the algorithm could be ...
Andrew Parker's user avatar
0 votes

The Hydra Game algorithm

One thing I have noticed is that the question asker assumed "right-most" meant the "last" leaf on the level with the most leaves, and the other answers here have assumed "...
NaturalLogZ's user avatar
0 votes

The Hydra Game algorithm

This is my mediocre attempt to write a program that solves the problem ...
Abdelhakim AKODADI's user avatar
0 votes

The Hydra Game runs forever

Nice little rule when having these types of problems: When in doubt, print it out But if it is hanging, its because of ...
Saaasaab's user avatar
0 votes

The Hydra Game algorithm

The problem is in the line: i = hydra.index(max(hydra)) Running the code and printing: print(hydra, i, step) gives us this: <...
Saaasaab's user avatar
-1 votes

Are there any compression algorithms based on PI?

The point is that using the PI to save a dictionary per compression source, right? Why not use a well-defined sequence of bytes as a common dictionary instead of PI and try that? I think that if this ...
Literadix's user avatar

Top 50 recent answers are included