
字符串
追逐星辰的光
脚踏实地,虚心前行
展开
-
Molar mass UVA - 1586
Molar mass Description An organic compound is any member of a large class of chemical compounds whose molecules contain carbon. The molar mass of an organic compound is the mass原创 2017-10-19 18:41:20 · 441 阅读 · 0 评论 -
DNA Consensus String UVA - 1368 模拟找规律
DNA Consensus String Time limit: 3.000 seconds Figure 1.DNA (Deoxyribonucleic Acid) is the molecule which contains the genetic instructions. It consists of four different nucleotides, namely A原创 2017-10-19 20:04:48 · 400 阅读 · 0 评论 -
UVA 10340 All in All
Description You have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a clever way. Because of pending patent issues we w原创 2017-10-19 20:19:50 · 310 阅读 · 0 评论 -
Periodic Strings 字符串匹配
Description如果一个字符串可以被某个长度为k的字符串重复多次得到,则称这个字符串的周期为k。例如,字符串“abcabcabcabc”以3为周期(当然,他也以6、12等等为周期)。 现在请你编写一个程序,求出任一长度不超过80的字符串的最小周期。 Input输入首先是一个整数n,代表有n组数据。 每组数据占一行,是一个长度不超过80的字符串。 两组相邻的输入之间有一个空行原创 2017-10-20 21:03:31 · 364 阅读 · 0 评论 -
Crossword Answers 模拟 字符串
Crossword Answers Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 869 Accepted: 405 Description A crossword puzzle consists of a rectangular翻译 2017-10-20 21:49:33 · 586 阅读 · 0 评论 -
Circular Sequence UVA - 1584
最小字典序输出: TopCoder To be a top Coder ! UVa 1548 Circular Sequence (字符串处理) Circular Sequence Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld &原创 2017-10-19 16:24:16 · 211 阅读 · 0 评论 -
Ancient Cipher
Description Ancient Roman empire had a strong government system with various departments, including a secret service department. Important documents were sent between provinces and the capital in e原创 2017-10-20 22:53:30 · 279 阅读 · 0 评论