题意:Tz养了一群仓鼠,他们都有英文小写的名字,现在Tz想用一个字母序列来表示他们的名字,只要他们的名字是字母序列中的一个子串就算,出现多次可以重复计算。现在Tz想好了要出现多少个名字,请你求出最短的字母序列的长度是多少。(n 7 #include 8 #include 9 #include10 ....
分类:
其他好文 时间:
2014-11-13 01:43:27
阅读次数:
239
Pasha has many hamsters and he makes them work out. Today,
n hamsters (n is even) came to work out. The hamsters lined up and each hamster either sat down or stood up.
For another exercise, Pasha n...
分类:
其他好文 时间:
2014-10-24 11:06:01
阅读次数:
238