lc258-Add Digits 發表於 2015-08-30 | 分類於 leetcode | 0 comments | 123456class Solution {public: int addDigits(int num) { return num - ((num-1)/9)*9; }};