結果

問題 No.730 アルファベットパネル
ユーザー liny_tailliny_tail
提出日時 2020-09-22 19:33:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 26 ms / 2,000 ms
コード長 179 bytes
コンパイル時間 238 ms
コンパイル使用メモリ 10,676 KB
実行使用メモリ 9,108 KB
最終ジャッジ日時 2023-09-08 16:50:16
合計ジャッジ時間 1,116 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
8,960 KB
testcase_01 AC 25 ms
9,060 KB
testcase_02 AC 25 ms
8,972 KB
testcase_03 AC 25 ms
9,108 KB
testcase_04 AC 24 ms
8,972 KB
testcase_05 AC 24 ms
9,016 KB
testcase_06 AC 25 ms
8,964 KB
testcase_07 AC 25 ms
8,964 KB
testcase_08 AC 25 ms
8,964 KB
testcase_09 AC 26 ms
9,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import string

S = input().strip()

lst = list(string.ascii_uppercase)

for i in S:
  if i in lst:
    lst.remove(i)
  else:
    break
else:
  print('YES')
  exit(0)

print('NO')
0