
素数打表
文章平均质量分 79
974792789
不要在能吃苦的年纪追求安逸。
展开
-
Happy 2006 素数打表+容斥原理+二分+hdu
Happy 2006Time Limit: 3000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64uDescriptionTwo positive integers are said to be relatively prime to each othe原创 2014-07-25 10:37:25 · 534 阅读 · 0 评论 -
Smith Numbers 素数打表+暴力+求素因子+poj
Smith NumbersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 12106 Accepted: 4141DescriptionWhile skimming his phone directory in 1982, Albert Wilansky,原创 2014-07-25 12:49:37 · 609 阅读 · 0 评论 -
Relatives+水题+欧拉函数+素数打表的基本应用+poj
RelativesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11122 Accepted: 5383DescriptionGiven n, a positive integer, how many positive integers less tha原创 2014-07-26 18:18:03 · 424 阅读 · 0 评论 -
Primes on Interval+codeforces+筛选法打表
Primes on Intervaltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've decided to carry out a survey in the theory原创 2014-07-27 20:30:24 · 522 阅读 · 0 评论 -
GCD and LCM+hdu+利用gcd和lcm的性质
GCD and LCMTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 1024 Accepted Submission(s): 477Problem DescriptionGiven two posit原创 2014-09-06 17:32:35 · 913 阅读 · 0 评论