A Easy Game(FZU 2146)
? ? ? ? ? ? ?A Easy Game
比賽題目鏈接
Fat brother and Maze are playing a kind of special (hentai) game on a string S. Now they would like to count the length of this string. But as both Fat brother and Maze are programmers, they can recognize only two numbers 0 and 1. So instead of judging the length of this string, they decide to judge weather this number is even.
The first line of the date is an integer T, which is the number of the text cases.
Then T cases follow, each case contains a line describe the string S in the treasure map. Not that S only contains lower case letters.
1 <= T <= 100, the length of the string is less than 10086
For each case, output the case number first, and then output “Odd” if the length of S is odd, otherwise just output “Even”.
總結
以上是生活随笔為你收集整理的A Easy Game(FZU 2146)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 泛型参数怎么new_泛型编程,你不知道?
- 下一篇: 盘点十个最伟大的公式,1+1=2仅排到了