2018年10月29日

最快素数

摘要: package example.service.repay; public class PrimeTest { public int isPrime(int n) { // 返回1表示判断为质数,0为非质数,在此没有进行输入异常检测 double n_sqrt; if (n == 2 || n == 3) return 1; ... 阅读全文

posted @ 2018-10-29 18:03 jis117 阅读(170) 评论(0) 推荐(0) 编辑

导航