摘要: http://www.w3school.com.cn/jsref/jsref_replace.asp 阅读全文
posted @ 2016-08-09 14:56 HYDhyd 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution { 2 public: 3 bool isUgly(int num) { 4 if(num==0)return false; 5 while(num%2==0) 6 num/=2; 7 while(num%3==0) 8 num/=3; 9 ... 阅读全文
posted @ 2016-08-09 12:04 HYDhyd 阅读(193) 评论(0) 推荐(0) 编辑