The origin of this puzzle is unknown. Janko.at first became aware of it via Croco Puzzle.
Puzzle and Goal
An unsolved puzzle consists of a square grid with some number clues along the edge.
The goal is to color two cells in each rank black, and to fill in the rest of the cells with numbers.
The solved grid must satisfy the following conditions:
Each number appears exactly once in each rank.
Clues on the edge of the puzzle indicate the sum of the numbers in the grid between two black squares.