![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
最小表示法
文章平均质量分 95
Top_Spirit
我的指针已经找了他的对象,而我呢?
展开
-
How many HDU - 2609,Glass Beads POJ - 1509 (最小表示法)
Give you n ( n < 10000) necklaces ,the length of necklace will not large than 100,tell me How many kinds of necklaces total have.(if two necklaces can equal by rotating ,we say the two necklaces ...原创 2019-01-18 10:17:37 · 242 阅读 · 0 评论 -
String Problem HDU - 3374 (KMP+最小表示法)
Give you a string with length N, you can generate N strings by left shifts. For example let consider the string “SKYLONG”, we can generate seven strings: String Rank SKYLONG 1 KYLONGS 2 YLONGSK 3...原创 2019-01-22 19:52:36 · 188 阅读 · 0 评论 -
String 2019牛客暑期多校训练营(第七场)(最小表示法)
链接:https://ac.nowcoder.com/acm/contest/887/A来源:牛客网题目描述A string is perfect if it has the smallest lexicographical ordering among its cyclic rotations.For example: "0101" is perfect as it is th...原创 2019-08-12 16:11:04 · 167 阅读 · 0 评论