{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\n\u003cscript\u003e\n window.katexOptions \u003d {\n delimiters: [\n {left: \u0027$$$$$$\u0027, right: \u0027$$$$$$\u0027, display: true},\n {left: \u0027$$$\u0027, right: \u0027$$$\u0027, display: false},\n {left: \u0027$$\u0027, right: \u0027$$\u0027, display: true},\n {left: \u0027$\u0027, right: \u0027$\u0027, display: false}\n ]\n };\n\u003c/script\u003e\n","sections":[{"title":"","value":{"format":"MD","content":"一个字符串被称为多样的当且仅当它包含了字母表中的连续一段字母,并且每个字母恰好出现一次。例如,`fced`、`xyz`、`r`、`dabcef` 是多样的,而 `az`、`aa`、`bad`、`babc` 不是多样的。注意,`a` 和 `z` 在字母表中不相邻。\n\n多组询问,对于每次询问给出的字符串,如果是多样的,输出 `Yes`,否则输出 `No`。"}},{"title":"Input","value":{"format":"MD","content":"第一行包含一个整数 $n$($1 \\le n \\le 100$),表示询问次数。接下来 $n$ 行,每行包括一个字符串,长度在 $[1, 100]$ 之间,仅包含小写字母。"}},{"title":"Output","value":{"format":"MD","content":"输出 $n$ 行,对于每次询问给出的字符串,如果是多样的,输出 `Yes`,否则输出 `No`。"}},{"title":"Sample 1","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e8\nfced\nxyz\nr\ndabcef\naz\naa\nbad\nbabc\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eYes\nYes\nYes\nYes\nNo\nNo\nNo\nNo\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}