The seventh annual High School Programming Contest was held on Wednesday, November 11, 1998. Lawrence Free State teams who won the advanced division and to Shawnee Mission East, Shawnee Mission North and Shawnee Mission Northwest teams who won the beginning division.
Some pictures are now available.
The one who takes the last stone wins. Your program should use this strategy whenever it is possible. If this strategy is impossible, the program should take 1 stone. You may assume that the initial number of stones is positive and that the player cheats. There are 20 stones.