leetcode 263. Ugly Number
摘要:
bool isUgly(int num) { while (num < 1) return false; while (num % 2 == 0) num /= 2; while (num % 3 == 0) num /= 3; while (num %... 阅读全文
posted @ 2018-02-07 15:00 willaty 阅读(77) 评论(0) 推荐(0) 编辑
posted @ 2018-02-07 15:00 willaty 阅读(77) 评论(0) 推荐(0) 编辑
posted @ 2018-02-07 14:09 willaty 阅读(82) 评论(0) 推荐(0) 编辑
posted @ 2018-02-07 13:29 willaty 阅读(74) 评论(0) 推荐(0) 编辑