摘要: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston 阅读全文
posted @ 2016-10-05 14:29 Bita 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Write a function that takes a string as input and returns the string reversed. 翻译:写一个函数,输入一个字符串,返回反转的字符串。 分析: 大水题,转为字符数组,然后直接用系统内置函数反转后再变为字符串,顺利AC。 没想 阅读全文
posted @ 2016-10-05 14:00 Bita 阅读(179) 评论(0) 推荐(0) 编辑