摘要: 1013 数素数 (20分) 测试点4就是素数可能超出10000这个大小,所以设置大点,例如:105000 #include<iostream> #include<vector> #include<cctype> #include<map> #include<set> #include<sstrea 阅读全文
posted @ 2020-06-17 08:17 chstor 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1007 素数对猜想 (20分) 注意这个条件 i+2<=n ,不然会超出范围 #include<iostream> #include<vector> #include<cctype> #include<map> #include<set> #include<sstream> #include<st 阅读全文
posted @ 2020-06-17 08:14 chstor 阅读(98) 评论(0) 推荐(0) 编辑