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 @ 2017-12-16 21:15 夜的第八章 阅读(132) 评论(0) 推荐(0)
posted @ 2017-12-16 21:15 夜的第八章 阅读(132) 评论(0) 推荐(0)
posted @ 2017-12-16 20:16 夜的第八章 阅读(151) 评论(0) 推荐(0)