We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0253b7a commit 13fcda2Copy full SHA for 13fcda2
src/Day11.kt
@@ -21,7 +21,7 @@ fun main() {
21
increaseEnergyLevelOfAllByOne(octopuses)
22
flashWhenEnoughEnergy(octopuses)
23
val flashCountInStep = resetEnergyLevelAfterFlashing(octopuses)
24
- if (flashCountInStep == 100) { // if all are flashing synchronized
+ if (flashCountInStep == 100) { // if all are flashing simultaneously
25
return step
26
}
27
totalFlashCount += flashCountInStep
0 commit comments