摘要: 1. 判断素数 #include<bits/stdc++.h> bool IsPrime(int x){ if(x==1) return false; if(x==2||x==3) return true; if(x%6!=1&&x%6!=5) return false; for(int i=5;i 阅读全文
posted @ 2020-10-14 14:50 RAIN-code 阅读(149) 评论(0) 推荐(0) 编辑