摘要: 考虑用筛法排除区间内所有合数,对余下的数(素数)更新答案。http://poj.org/problem?id=2689 1 #include 2 #include 3 #include 4 using namespace std; 5 typedef __int64 LL; 6 const i... 阅读全文
posted @ 2015-09-16 14:49 astoninfer 阅读(134) 评论(0) 推荐(0) 编辑