PKU1743

所属分类:多媒体编程
开发工具:C/C++
文件大小:1KB
下载次数:1
上传日期:2010-05-20 21:52:53
上 传 者hansen923
说明:  题意:给出一个旋律,用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.)

文件列表:
PKU1743.txt (2404, 2010-05-20)

近期下载者

相关文件


收藏者