博客搬家:最爱午后红茶
对应 POJ 题目:点击打开链接
Find the Winning Move
Time Limit: 3000MS | Memory Limit: 32768K | |
Total Submissions: 1028 | Accepted: 502 |
Description
4x4 tic-tac-toe is played on a board with four rows (numbered 0 to 3 from top to bottom) and four columns (numbered 0 to 3 from left to right). There are two players, x and o, who move alternately with x always going first. The game is won by the first player to get four of his or her pieces on the same