摘要: 直接从2到n枚举,能整除的就判断有无4和7就好了! 1 #include 2 #include 3 4 using namespace std; 5 6 bool f(int n) 7 { 8 while(n) 9 {10 if(n % 10 != 4 && ... 阅读全文
posted @ 2015-03-22 23:26 dominjune 阅读(469) 评论(0) 推荐(0) 编辑