摘要: 【算法】数学 #include<cstdio> #include<cmath> bool ok(int x) { int m=(int)sqrt(x+0.5); for(int i=2;i<=m;i++) { if(x%i==0)return 0; } return 1; } int main() 阅读全文
posted @ 2017-06-02 22:01 ONION_CYC 阅读(237) 评论(0) 推荐(0) 编辑