CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - longest
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - longest - List
[
Successful incentive
]
PKU1743
DL : 0
题意:给出一个旋律,用n个数字[1,88]表示其音符,问它最长的主题长度是多少。一个旋律的主题是一段至少出现过两次的不重叠音乐片段。所谓重复出现,包括一段音乐全体加上某个数后再次出现。如1 2 3 4 5和5 6 7 8 9是同一个音乐片段。主题长度至少为5.无解输出0。-The meaning of problems: given a melody, with n numbers [1,88] that the note and asked it the subject of the longest length is. A theme is a melody there have been at least two non-overlapping pieces of music. The so-called repeated, including a piece of music all together again after a few. Such as 12345 and 56789 are the same pieces of music. Subject length of at least 5. No solution for the output 0.
Date
: 2025-12-26
Size
: 1kb
User
:
hansen
[
Successful incentive
]
201111212008156529
DL : 0
武则天是中国历史上唯一一个正统的女皇帝(唐高宗时代曾出现另一个民间起义的女皇帝陈硕真),也是继位年龄最大的皇帝岁即位),又是寿命最长的皇帝之一(终年82岁)。-Wu is the only one in Chinese history orthodox female emperor (emperor of the Tang Emperor era there have been another female civil uprising Chen Shuo true), is also the oldest emperor throne throne at the age), it is one of the longest life expectancy emperor (the age of 82. ).
Date
: 2025-12-26
Size
: 78kb
User
:
xiaosi
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.