素数
文章平均质量分 87
DTL66
细节决定成败
展开
-
Codeforces-546D Soldier and Number Game 【质因子分解+打表+DP】
D. Soldier and Number Game time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output Two soldiers are playing a game. At the beginning first of them原创 2016-08-13 21:53:04 · 433 阅读 · 0 评论 -
Uva-10200 Prime Time 【素数+打表+浮点精度】
10200 - Prime TimeEuler is a well-known matematician, and, among many other things, he discovered that the formula n 2 + n + 41 produces a prime for 0 ≤ n < 40. For n = 40, the formula produces 1681,原创 2016-08-14 00:05:40 · 435 阅读 · 0 评论 -
HDU 1215 七夕节 【约数和定理&&唯一分解定理(模板)】
七夕节 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 42511 Accepted Submission(s): 13503 Problem Description 七夕节那天,月老来到数字王国原创 2016-11-08 14:56:59 · 509 阅读 · 0 评论