Skip to content

Commit

Permalink
Wikipedia link.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneMcC committed Dec 11, 2018
1 parent 6344589 commit 82a4e98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 11/run.php
Expand Up @@ -15,6 +15,7 @@ function getPowerLevel($x, $y, $gridSerial) {
}

// Generate prefix-sum grid.
// https://en.wikipedia.org/wiki/Summed-area_table
foreach (yieldXY(0, 0, 300, 300) as $x => $y) {
// Prefix Sum is the power value of the whole square from 0,0 to x,y.

Expand Down

0 comments on commit 82a4e98

Please sign in to comment.