摘要:
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. Example 1 Example 2 阅读全文
posted @ 2017-12-06 13:06
逸朵
阅读(103)
评论(0)
推荐(0)
摘要:
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 @ 2017-12-06 12:31
逸朵
阅读(139)
评论(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 @ 2017-12-06 12:11
逸朵
阅读(111)
评论(0)
推荐(0)

浙公网安备 33010602011771号