
模板题
Archger
Thanks for adventure.
展开
-
HDU 4081 Qin Shi Huang's National Road System【次小生成树】【模板题】
Qin Shi Huang's National Road SystemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8054 Accepted Submission(s): 2869Problem Desc原创 2017-07-12 14:25:33 · 535 阅读 · 0 评论 -
POJ 3461 Oulipo【KMP】【模板题】(找出第一个字符串在第二个字符串中出现次数)
OulipoTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 42886 Accepted: 17234DescriptionThe French author Georges Perec (1936–1982) once wrote a book, L原创 2017-08-20 21:25:10 · 945 阅读 · 0 评论 -
ZOJ 2996 (1+x)^n【模板题】【常用技巧】
(1+x)^nTime Limit: 2 Seconds Memory Limit: 65536 KBPlease calculate the coefficient modulo 2 of x^i in (1+x)^n.InputFor each case, there are two integers n, i (0OutputFor each c原创 2017-08-15 19:10:26 · 589 阅读 · 0 评论 -
HDU 6181 Two Paths【次短路】【模板题】
Two PathsTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 153428/153428 K (Java/Others)Total Submission(s): 236 Accepted Submission(s): 138Problem DescriptionYou are given a原创 2017-08-24 22:00:04 · 637 阅读 · 0 评论 -
POJ 1236 Network of Schools【tarjan算法】【模板题】
Network of SchoolsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 19362 Accepted: 7616DescriptionA number of schools are connected to a computer netwo原创 2017-08-23 20:09:43 · 441 阅读 · 0 评论 -
HDU 2087 剪花布条【最长不重复子串】【KMP】【水题】【模板题】
剪花布条Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 21759 Accepted Submission(s): 13595Problem Description一块花布条,里面有些图案,另有一块直接原创 2017-08-21 10:43:30 · 386 阅读 · 0 评论 -
HDU 6114 Chess【逆元+组合数】【模板题】
ChessTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 95 Accepted Submission(s): 72Problem Description車是中国象棋中的一种棋子,它能攻击同一行或同一列原创 2017-08-13 19:15:17 · 640 阅读 · 0 评论 -
2017"百度之星"程序设计大赛 - 初赛(A)1001——HDU 6108【求因子数】【思维题】
小C的倍数问题 Accepts: 1990 Submissions: 4931 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description根据小学数学的知识,我们知道一个正整数x是3的倍数的原创 2017-08-12 21:00:44 · 689 阅读 · 0 评论 -
ZOJ 3058 Circle and Ring【圆与环相交面积】【圆与圆相交面积模板】
Circle and RingTime Limit: 1 Second Memory Limit: 32768 KBGiven a circle and a ring, your task is to calculate the area of their intersection.InputThis problem contains multiple tes原创 2017-08-12 11:27:12 · 565 阅读 · 0 评论 -
HDU 2089 不要62【数位dp】【模板题】
不要62Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 45125 Accepted Submission(s): 16862Problem Description杭州人称那些傻乎乎粘嗒嗒的人为62(音原创 2017-08-18 16:13:22 · 388 阅读 · 0 评论 -
ZOJ 3147 Dezider's Coverup【最小圆覆盖】【模板题】
Dezider's CoverupTime Limit: 1 Second Memory Limit: 32768 KBZlatica to his house for dinner. The trouble is, he tripped with the sauce in his hands (thankfully this was in the morning a原创 2017-08-18 09:18:29 · 459 阅读 · 0 评论 -
HDU 3037 Saving Beans【Lucas定理】【模板题】【模板】【组合数取余】
Saving BeansTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5775 Accepted Submission(s): 2320Problem DescriptionAlthough wint原创 2017-08-16 00:02:02 · 483 阅读 · 0 评论 -
HDU 2844 Coins[【经典题】【模板题】
CoinsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 15971 Accepted Submission(s): 6340Problem DescriptionWhuacmers use coins原创 2017-08-10 08:02:54 · 578 阅读 · 0 评论 -
POJ 3974 Palindrome【manacher】【模板题】【模板】
PalindromeTime Limit: 15000MS Memory Limit: 65536KTotal Submissions: 9838 Accepted: 3724DescriptionAndy the smart computer science student was attending an algo原创 2017-08-16 22:09:23 · 459 阅读 · 0 评论 -
HDU1698 Just a Hook(成段更新)【模板】
题目链接 Just a HookTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 32198 Accepted Submission(s): 15831Problem Description In the game of DotA原创 2017-06-24 20:55:45 · 460 阅读 · 0 评论 -
POJ 2828 Buy Tickets【线段树单点更新+逆序遍历】【经典题】【模板题】
Buy TicketsTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 20782 Accepted: 10237DescriptionRailway tickets were difficult to buy around the Lunar New原创 2017-08-07 20:21:59 · 351 阅读 · 0 评论 -
HDU 1711 Number Sequence【KMP】【模板题】【水题】(返回匹配到的第一个字母的位置)
Number SequenceTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 29634 Accepted Submission(s): 12464Problem DescriptionGiven t原创 2017-08-20 21:41:46 · 436 阅读 · 0 评论