結果

問題 No.1592 Tenkei 90
ユーザー shinichishinichi
提出日時 2021-07-09 21:45:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 94 ms / 1,000 ms
コード長 286 bytes
コンパイル時間 293 ms
コンパイル使用メモリ 87,188 KB
実行使用メモリ 71,940 KB
最終ジャッジ日時 2023-09-14 08:23:06
合計ジャッジ時間 3,673 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
71,584 KB
testcase_01 AC 88 ms
71,812 KB
testcase_02 AC 88 ms
71,848 KB
testcase_03 AC 94 ms
71,492 KB
testcase_04 AC 89 ms
71,636 KB
testcase_05 AC 90 ms
71,940 KB
testcase_06 AC 91 ms
71,816 KB
testcase_07 AC 94 ms
71,732 KB
testcase_08 AC 90 ms
71,564 KB
testcase_09 AC 91 ms
71,640 KB
testcase_10 AC 89 ms
71,820 KB
testcase_11 AC 90 ms
71,736 KB
testcase_12 AC 91 ms
71,884 KB
testcase_13 AC 90 ms
71,636 KB
testcase_14 AC 90 ms
71,592 KB
testcase_15 AC 89 ms
71,464 KB
testcase_16 AC 92 ms
71,860 KB
testcase_17 AC 90 ms
71,876 KB
testcase_18 AC 90 ms
71,596 KB
testcase_19 AC 90 ms
71,784 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict, Counter
import sys

target = '90kyoprotenkei'
s = input()

if len(s) != len(target):
    print('No')
    sys.exit()
tar = Counter(target)
for key,value in tar.items():
    if s.count(key) != value:
        print('No')
        sys.exit()
print('Yes')
0