Hi everyone, newcomer here.
I tried this puzzle in Lua.
I had the exact same solution but with other variable names and it didn’t work (highestMountainH instead of max and highestMountainID instead of imax).
After some name replacements attempts and copy pasting, I found out that I can use whatever name I want for imax, but I have to use max otherwise it won’t work.
Do we have to use the variable names of the solution ?
Is that standard behaviour for all puzzles ?
How are we supposed to know which name was used ? Only mountainH was mentioned in the constraints.
Thank you in advance for your help!
EDIT: ok, half an hour later, I reloaded the page, and now it works!
I used ctrl-z and came back to the exact same code I had and it doesn’t produce errors.
Not too sure what happened.
Did you sneaky devs quickly fix it ?