第十八题:263. Ugly Number
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 example, 6, 8 are ugly while 14 is not ugly since it includes another prime factor 7.
Note that 1 is typically treated as an ugly number.
判断一个整形数是否是丑陋的数。丑陋的数字是指只包含2,3,5因数的数字。
特殊的,1作为一个丑陋的数字。
函数格式:
bool isUgly(int num) {
}








