对于大部分题解,仅简单地将所有字符串进行了长度比较和字典序比较,如
https://www.luogu.com.cn/article/sjhcbusa
https://www.luogu.com.cn/article/3hex3t7h
https://www.luogu.com.cn/article/7ucbi81s 。
还有两篇题解是用python写的,其中一篇,能够找到
a ac acc
中的acc,但是找不到
acc
a da dad dada
中的dada。
dada
https://www.luogu.com.cn/article/wxvujhqs
另一篇python题解,
https://www.luogu.com.cn/article/y782so8l
代码格式不规范,给出的最终答案也与其他题解(虽错误但AC)不符。