模板篇
文章平均质量分 85
DTL66
细节决定成败
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU 4333 Revolving Digits【EXKMP求LCP&&KMP求最小循环节(串旋转)】
Revolving Digits Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 25182 Accepted Submission(s): 5507 Problem Description One原创 2016-09-12 21:14:48 · 544 阅读 · 0 评论 -
POJ 2001 Shortest Prefixes 【LCP(Trie)】
Shortest Prefixes Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 17620 Accepted: 7664 Description A prefix of a string is a substring starting at the be原创 2016-09-15 18:21:38 · 340 阅读 · 0 评论 -
HDU 2222 Keywords Search 【AC自动机(模板题)】
Keywords Search Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 53340 Accepted Submission(s): 17396 Problem Description In原创 2016-09-16 16:15:02 · 354 阅读 · 0 评论 -
HYSBZ 2190 仪仗队【容斥原理 OR Euler(两种)】
仪仗队 Time Limit:10000MS Memory Limit:265216KB 64bit IO Format:%lld & %llu Description 作为体育委员,C君负责这次运动会仪仗队的训练。仪仗队是由学生组成的N * N的方阵,为了保证队伍在行进中整齐划一,C君会跟在仪仗队的左后方,根据其视线所及的学生人数来判断队伍是否整齐(如下图)。 现在,C原创 2016-09-03 18:08:07 · 368 阅读 · 0 评论 -
HDU 3579 Hello Kiki【CRT(互质+不互质)统一】
Hello Kiki Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Description One day I was shopping in the supermarket. There was a cashier counting coins seriously when a原创 2016-09-03 00:54:20 · 435 阅读 · 0 评论 -
URAL 1748 The Most Complex Number 【区间最大反素数(模板)】
1748. The Most Complex Number Time limit: 1.0 second Memory limit: 64 MB Let us define a complexity of an integer as the number of its divisors. Your task is to find the most complex intege原创 2016-09-05 15:28:13 · 522 阅读 · 0 评论 -
LIGHT OJ 1179 - Josephus Problem【约瑟夫(模板)】
1179 - Josephus Problem PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB The historian Flavius Josephus relates how, in the Rom原创 2016-09-20 23:35:31 · 829 阅读 · 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 · 554 阅读 · 0 评论 -
UVA 1584 Circular Sequence【串的最小循环表示】
Circular Sequence Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Description Some DNA sequences exist in circular forms as in the following figure, which shows a circular原创 2016-10-18 16:55:36 · 382 阅读 · 0 评论
分享