結果

問題 No.1592 Tenkei 90
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2022-02-06 16:58:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 1,000 ms
コード長 195 bytes
コンパイル時間 314 ms
コンパイル使用メモリ 10,712 KB
実行使用メモリ 8,476 KB
最終ジャッジ日時 2023-09-02 07:01:27
合計ジャッジ時間 2,243 ms
ジャッジサーバーID
(参考情報)
judge16 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
8,344 KB
testcase_01 AC 18 ms
8,348 KB
testcase_02 AC 18 ms
8,348 KB
testcase_03 AC 18 ms
8,352 KB
testcase_04 AC 18 ms
8,384 KB
testcase_05 AC 18 ms
8,348 KB
testcase_06 AC 18 ms
8,344 KB
testcase_07 AC 18 ms
8,476 KB
testcase_08 AC 18 ms
8,392 KB
testcase_09 AC 18 ms
8,384 KB
testcase_10 AC 18 ms
8,400 KB
testcase_11 AC 18 ms
8,380 KB
testcase_12 AC 18 ms
8,356 KB
testcase_13 AC 18 ms
8,380 KB
testcase_14 AC 18 ms
8,384 KB
testcase_15 AC 18 ms
8,336 KB
testcase_16 AC 18 ms
8,400 KB
testcase_17 AC 18 ms
8,348 KB
testcase_18 AC 18 ms
8,320 KB
testcase_19 AC 18 ms
8,396 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = list(input())
T = list('kyoprotenkei90')
from collections import Counter
s = Counter(S)
t = Counter(T)

for k,v in s.items():
    if t[k] != v:
        print('No')
        exit()
print('Yes')
0