文件名称:PKU1743
介绍说明--下载内容均来自于网络,请自行研究使用
题意:给出一个旋律,用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