随笔分类 - 长乐集训
摘要:Last Digits Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2378 Accepted: 501 Description Exponentiation of one integer by another often p
阅读全文
摘要:C. Jzzhu and Apples time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Jzzhu has picked n ap
阅读全文
摘要:C Looooops Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 29262 Accepted: 8441 Description A Compiler Mystery: We are given a C-language s
阅读全文
摘要:X-factor Chains Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7733 Accepted: 2447 Description Given a positive integer X, an X-factor cha
阅读全文
摘要:Prime Distance Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 19952 Accepted: 5357 Description The branch of mathematics called number the
阅读全文
摘要:E. Palisection time limit per test 2 seconds memory limit per test 128 megabytes input standard input output standard output E. Palisection time limit
阅读全文
摘要:pdf题面:传送门 题目大意:给定一些单词和一个句子,问有多少个单词在句子中出现过,如果一个但单词包含另一个单词,并且两个单词都出现过,那么只算最外层的单词(包含另一个单词的单词). 分析:这道题如果没有第二个条件的话就和hdu2222是一模一样的题.但是没关系,可以先用hdu2222的方法找出所有
阅读全文
摘要:2565: 最长双回文串 Description 顺序和逆序读起来完全一样的串叫做回文串。比如acbca是回文串,而abc不是(abc的顺序为“abc”,逆序为“cba”,不相同)。输入长度为n的串S,求S的最长双回文子串T,即可将T分为两部分X,Y,(|X|,|Y|≥1)且X和Y都是回文串。 顺序
阅读全文
摘要:病毒侵袭持续中 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16101 Accepted Submission(s): 5463 Proble
阅读全文
摘要:Palindrome Time Limit: 15000MS Memory Limit: 65536K Total Submissions: 10526 Accepted: 4001 Description Andy the smart computer science student was at
阅读全文
摘要:Word Puzzles Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 12090 Accepted: 4547 Special Judge Description Word puzzles are usually simple
阅读全文
摘要:Keywords Search Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 70386 Accepted Submission(s): 2
阅读全文
摘要:C. Spy Syndrome 2 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output After observing the re
阅读全文
摘要:Wild Words Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 5567 Accepted: 1475 Description A word is a string of lowercases. A word pattern
阅读全文
摘要:Find the Clones Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 8490 Accepted: 3210 Description Doubleville, a small town in Texas, was att
阅读全文
摘要:Phone List Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 31545 Accepted: 9244 Description Given a list of phone numbers, determine if it
阅读全文
摘要:D. Om Nom and Necklace time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output D. Om Nom and Neck
阅读全文
摘要:Oulipo Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 44519 Accepted: 17845 Description The French author Georges Perec (1936–1982) once w
阅读全文
摘要:Wedding Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10975 Accepted: 3355 Special Judge Description Up to thirty couples will attend a w
阅读全文
摘要:SPF Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 9616 Accepted: 4334 Description Consider the two networks shown below. Assuming that da
阅读全文