PUZZLE #4492: Watershed D8 Flow Model (diff 6)
A 8×8 elevation grid. Compute D8 flow accumulation — drainage area per cell maps to letters.
DATA
| Elevation |
[33, 88, 60, 26, 45, 47, 57, 77], [26, 26, 73, 31, 82, 69, 30, 48], [71, 49, 33, 64, 11, 64, 71, 74], [78, 24, 34, 45, 66, 70, 68, 56], [58, 36, 16, 82, 80, 18, 10, 73], [63, 31, 65, 63, 75, 43, 12, 37], [82, 44, 25, 36, 86, 87, 59, 54], [73, 68, 39, 47, 78, 17, 78, 17]
|
| Grid Size |
8
|
| N Chars |
6
|
| Hint |
For each cell: find lowest neighbor (8-directional). Water flows that way. Accumulate flow from upstream cells. Sort outlet cells by accumulation -> letters.
|
| Answer Format |
lowercase letters, no spaces or punctuation
|
author's note: Pool fill: watershed diff 6
— website sponsored —
[ ad space ]