結果
問題 |
No.1592 Tenkei 90
|
ユーザー |
|
提出日時 | 2022-11-26 18:48:28 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 46 ms / 1,000 ms |
コード長 | 221 bytes |
コンパイル時間 | 270 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 54,016 KB |
最終ジャッジ日時 | 2024-10-03 02:45:07 |
合計ジャッジ時間 | 1,979 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
from collections import defaultdict cnt = defaultdict(int) t = "kyoprotenkei90" for c in t: cnt[c] += 1 s = input() for c in s: cnt[c] -= 1 if all(v == 0 for k, v in cnt.items()): print("Yes") else: print("No")