結果
| 問題 | No.1592 Tenkei 90 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-12-06 23:44:56 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 28 ms / 1,000 ms | 
| コード長 | 292 bytes | 
| コンパイル時間 | 95 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,496 KB | 
| 最終ジャッジ日時 | 2024-07-07 09:50:53 | 
| 合計ジャッジ時間 | 1,223 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 17 | 
ソースコード
from collections import Counter, defaultdict
cnt_dict = defaultdict(int)
T = "kyoprotenkei90"
for t in T:
    cnt_dict[t] += 1
S = input()
counter = Counter(S)
for word in counter.keys():
    if counter[word] != cnt_dict[word]:
        print("No")
        exit()
print("Yes")
            
            
            
        