P2953 [USACO09OPEN] Cow Digit Game S
题目描述
Bessie is playing a number game against Farmer John, and she wants you to help her achieve victory.
Game i starts with an integer N\_i (1
输入格式
无
输出格式
无
说明/提示
For the first game, Bessie simply takes the number 9 and wins. For the second game, Bessie must take 1 (since she cannot take 0), and then FJ can win by taking 9.