結果

問題 No.1592 Tenkei 90
ユーザー somey-sv
提出日時 2021-07-10 00:59:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 47 ms / 1,000 ms
コード長 260 bytes
コンパイル時間 694 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 53,760 KB
最終ジャッジ日時 2024-07-01 19:50:47
合計ジャッジ時間 2,073 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

S = list(input())

from collections import defaultdict
d = defaultdict(int)

for i in range(len(S)):
    d[S[i]] += 1

flag = True
for s in "kyoprotenkei90":
    if d[s] == 0:
        flag = False
        break

if flag:
    print("Yes")
else:
    print("No")
0