結果

問題 No.1592 Tenkei 90
ユーザー somey-svsomey-sv
提出日時 2021-07-10 00:59:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 93 ms / 1,000 ms
コード長 260 bytes
コンパイル時間 792 ms
コンパイル使用メモリ 86,944 KB
実行使用メモリ 71,644 KB
最終ジャッジ日時 2023-09-14 12:24:12
合計ジャッジ時間 3,782 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 91 ms
71,636 KB
testcase_01 AC 92 ms
71,464 KB
testcase_02 AC 92 ms
71,408 KB
testcase_03 AC 93 ms
71,512 KB
testcase_04 AC 93 ms
71,604 KB
testcase_05 AC 92 ms
71,332 KB
testcase_06 AC 92 ms
71,468 KB
testcase_07 AC 91 ms
71,328 KB
testcase_08 AC 92 ms
71,512 KB
testcase_09 AC 91 ms
71,536 KB
testcase_10 AC 93 ms
71,600 KB
testcase_11 AC 92 ms
71,516 KB
testcase_12 AC 91 ms
71,620 KB
testcase_13 AC 91 ms
71,468 KB
testcase_14 AC 90 ms
71,644 KB
testcase_15 AC 90 ms
71,508 KB
testcase_16 AC 91 ms
71,456 KB
testcase_17 AC 93 ms
71,548 KB
testcase_18 AC 91 ms
71,464 KB
testcase_19 AC 93 ms
71,464 KB
権限があれば一括ダウンロードができます

ソースコード

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