問題一覧 > 通常問題

No.730 Alphabet Panels

レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 382
作問者 : nmnmnmnmnmnmnm / テスター : Nasatame
お気に入りにしたユーザー ProblemId : 1418 / 自分の提出
問題文最終更新日: 2026-07-01 10:28:08
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder contest 199 (順位表) の他の問題:

Problem Statement

Yuki has one panel of each uppercase letter from 'A' to 'Z'.
Determine whether the given string can be made by arranging Yuki's panels.

Input

$S$

$S$ is the given string consisting of uppercase letters.
$ 1 \le$ the length of string $S$ $\le 10$.

Output

Print "YES" if it can be made and "NO" otherwise, on one line.
Don't forget the newline at the end.

Sample

Sample 1
Input
YUKICODER
Output
YES

It can be made by arranging the panels in a row as 'Y', 'U', 'K', 'I', 'C', 'O', 'D', 'E', 'R'.

Sample 2
Input
AAA
Output
NO

There is only one 'A' panel, so three of them cannot be arranged.

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。