POJ 3176 - Cow Bowling
The cows don’t use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a standard bowling-pin-like triangle like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 Then the other cows traverse the triangle