摘要:
Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2, 3, 4, 5, 阅读全文
posted @ 2018-03-11 12:53
乐乐章
阅读(173)
评论(0)
推荐(0)
摘要:
Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For exa 阅读全文
posted @ 2018-03-11 12:39
乐乐章
阅读(137)
评论(0)
推荐(0)
摘要:
Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n. For example:Given n = 13,Return 阅读全文
posted @ 2018-03-11 12:29
乐乐章
阅读(252)
评论(0)
推荐(0)

浙公网安备 33010602011771号