4 ms·
The story is a little misleading -- the correct sequence is not in fact "sitting right there in the code." I "cheated" on some questions by causing the correct
by re 7y ago
The story is a little misleading -- the correct sequence is not in fact "sitting right there in the code."
I "cheated" on some questions by causing the correct output to be printed without actually doing what the instructions recommend, but in this case, the path of the least resistance is probably to follow the instructions, including leveraging what the lightbulb hint recommends.
Additional Hint 1: Tbebhgvarf nera'g arprffnevyl rkrphgrq va gur beqre gung gurl'er fgnegrq
Additional Hint 2: Qb nf gur vafgehpgvbaf naq uvag fhttrfg naq svk gur enpr pbaqvgvba ol hfvat n zhgrk gb rafher gung bayl bar tbebhgvar ng n gvzr fyrrcf naq gura nccraqf gb gur neenl
Additional Hint 3: Lbh pna eranzr gur frgOhggba zrgubq naq znxr lbhe bja ercynprzrag gung pnyyf gur byq bar
If you want to "cheat": hfr lbhe oebjfre pbafbyr gb frr gur .tb svyrf gung ner ybnqrq juvpu pbagnva gur fgbel, pbqr, naq pbeerpg bhgchg.
Decode hints with https://rot13.com/ https://rot13.com/
- DuskStar 7y agoThanks for the help! Though I would have phrased the first hint as "Gur qrfverq beqre vf gur beqre va juvpu gur tbebhgvarf ner rkrphgrq"
- AlexCoventry 7y agoAnother hint, a reddit discussion of a golang phenomenon this puzzle depends on: https://bit.ly/2rqqWkh https://bit.ly/2rqqWkh It's a bit annoying that it's depending on such an incidental behavior.
- fred256 7y agoMy initial solution for this was to sleep 20*x milliseconds in setButton. Because the later random sleep is up to 10 milliseconds this ensures that the operations are always done in the defined order. But I guess that's not what they were after, the solution was indeed as simple as: z.Ybpx() qrsre z.Haybpx()