結果
| 問題 | No.1592 Tenkei 90 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-26 18:48:28 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 35 ms / 1,000 ms |
| + 149µs | |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 77 ms |
| コンパイル使用メモリ | 64,300 KB |
| 実行使用メモリ | 53,556 KB |
| 最終ジャッジ日時 | 2026-11-02 00:04:38 |
| 合計ジャッジ時間 | 2,329 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 |
ソースコード
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")