摘要: You are playing the followingBulls and Cowsgame with your friend: You write a 4-digit secret number and ask your friend to guess it. Each time your fr... 阅读全文
posted @ 2015-11-03 08:53 Phoebe815 阅读(260) 评论(0) 推荐(0) 编辑
摘要: Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n.For example:Given n = 13,Return 6... 阅读全文
posted @ 2015-11-03 06:56 Phoebe815 阅读(172) 评论(0) 推荐(0) 编辑