結果

問題 No.1592 Tenkei 90
ユーザー PSL24251284PSL24251284
提出日時 2021-07-10 18:00:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 91 ms / 1,000 ms
コード長 237 bytes
コンパイル時間 1,553 ms
コンパイル使用メモリ 86,784 KB
実行使用メモリ 71,712 KB
最終ジャッジ日時 2023-09-14 19:46:36
合計ジャッジ時間 3,512 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
71,500 KB
testcase_01 AC 89 ms
71,380 KB
testcase_02 AC 88 ms
71,712 KB
testcase_03 AC 90 ms
71,568 KB
testcase_04 AC 90 ms
71,504 KB
testcase_05 AC 90 ms
71,476 KB
testcase_06 AC 88 ms
71,384 KB
testcase_07 AC 89 ms
71,128 KB
testcase_08 AC 89 ms
71,504 KB
testcase_09 AC 89 ms
71,568 KB
testcase_10 AC 88 ms
71,572 KB
testcase_11 AC 89 ms
71,372 KB
testcase_12 AC 91 ms
71,680 KB
testcase_13 AC 90 ms
71,604 KB
testcase_14 AC 88 ms
71,396 KB
testcase_15 AC 88 ms
71,084 KB
testcase_16 AC 89 ms
71,280 KB
testcase_17 AC 90 ms
71,512 KB
testcase_18 AC 87 ms
71,668 KB
testcase_19 AC 87 ms
71,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict
S = list(input())
d = defaultdict(lambda:0)
X = list("kyoprotenkei90")
for v in S:
    d[v] += 1
for v in X:
    d[v] -= 1
ans = "Yes"
for v in d.keys():
    if d[v] != 0:
        ans = "No"
print(ans)
0