input: 8 gd bd ea ab fd be df be output: 6
既然题目中给出,约定第 111 个单词为龙头,不能重复选择,那么接出的最长龙应该有且仅有 111 个:
长度为 333,请问该样例是否错误?