172. 阶乘后的零 二月 14, 2019 class Solution {public: int trailingZeroes(int n) { int total = 0; while (n >= 1) { n /= 5; total += n; } return total; }}; 共享 获取链接 Facebook X Pinterest 电子邮件 其他应用 共享 获取链接 Facebook X Pinterest 电子邮件 其他应用 评论
评论
发表评论