blob: 4641e59c330b9af1365f95a1732b553c80297b30 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
--- Part Two ---
It seems like the individual flashes aren't bright enough to navigate. However, you might have a
better option: the flashes seem to be [1m[37msynchronizing[0m!
In the example above, the first time all octopuses flash simultaneously is step [1m[37m195[0m:
After step 193:
5877777777
8877777777
7777777777
7777777777
7777777777
7777777777
7777777777
7777777777
7777777777
7777777777
After step 194:
6988888888
9988888888
8888888888
8888888888
8888888888
8888888888
8888888888
8888888888
8888888888
8888888888
After step 195:
[1m[37m0000000000[0m
[1m[37m0000000000[0m
[1m[37m0000000000[0m
[1m[37m0000000000[0m
[1m[37m0000000000[0m
[1m[37m0000000000[0m
[1m[37m0000000000[0m
[1m[37m0000000000[0m
[1m[37m0000000000[0m
[1m[37m0000000000[0m
If you can calculate the exact moments when the octopuses will all flash simultaneously, you should
be able to navigate through the cavern. [1m[37mWhat is the first step during which all octopuses flash?[0m
|