@SyadouHayami https://www.luogu.com.cn/blog/blog10086001/qian-tan-lyndon-word
感谢投稿,已经加入候选队列
性质3手误,最小和次小混用