wxspll 发表于 2008-12-1 22:46:15

sum of 15

题目地址http://petr-mitrichev.blogspot.com/2008/11/sum-of-15.html

Two players are playing a game and take alternating turns. Initially, there are 9 cards with numbers from 1 to 9 on the table. On each turn, a player takes one of the cards. The first player to have exactly 3 cards with numbers that sum to 15 wins. If no one can after all cards are distributed, then it's a draw.
Can you tell who wins and how to play this game without using a computer to analyze all possible positions?

mathe 发表于 2008-12-2 08:15:39

draw
页: [1]
查看完整版本: sum of 15