摘要: 题目:Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3... 阅读全文
posted @ 2015-12-01 18:33 wendyHere 阅读(76) 评论(0) 推荐(0)
摘要: 题目: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 s... 阅读全文
posted @ 2015-12-01 18:12 wendyHere 阅读(151) 评论(0) 推荐(0)