摘要: Ruby 代码如下 1: def isZhishu?(num) 2: count = 2 3: while count < num do 4: return false if ( num % count ) == 0 5: count = count + 1 6: end... 阅读全文
posted @ 2012-05-18 15:24 Cocowool 阅读(435) 评论(2) 推荐(0)