Add Digits
摘要:
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: 阅读全文
posted @ 2016-03-16 15:12 爱上键盘的蜗牛 阅读(108) 评论(0) 推荐(0) 编辑