这道题翻译漏了一个关键信息:
Note that in his list all the names are ordered by the time
即构成的字符串必须按输入顺序首尾相接,不能乱序接,不然没法做。
翻译让我duel输了/fn/fn/fn