public class Solution {
public bool IsUgly(int num) {
if(num <=) return false;
if(num==) return true;
while(num/*==num){
num = num/;
}
while(num/*==num){
num = num/;
}
while(num/*==num){
num = num/;
}
return num==?true:false;
}
}
相关文章
- NBUT 1223 Friends number 2010辽宁省赛
- oracle的decimal和number的对比
- leetCode(29):Happy Number
- HDU 3709 Balanced Number
- HDU 3709 Balanced Number 求区间内的满足是否平衡的数量 (数位dp)
- HDU 3709 Balanced Number (数位DP)
- HDU - 3709 - Balanced Number(数位DP)
- HDU 3709 Balanced Number (数位DP)
- lintcode 中等题:majority number III主元素III
- xtu 1242 Yada Number 打表