結果
| 問題 | No.1592 Tenkei 90 |
| コンテスト | |
| ユーザー |
nehan_der_thal
|
| 提出日時 | 2021-07-09 21:45:57 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 26 ms / 1,000 ms |
| + 624µs | |
| コード長 | 321 bytes |
| 記録 | |
| コンパイル時間 | 66 ms |
| コンパイル使用メモリ | 82,708 KB |
| 実行使用メモリ | 57,940 KB |
| 最終ジャッジ日時 | 2026-10-12 08:24:55 |
| 合計ジャッジ時間 | 1,797 ms |
|
ジャッジサーバーID (参考情報) |
judge4_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 18 |
ソースコード
from collections import defaultdict
D = defaultdict(int)
for c in "90kyoprotenkei":
D[c] += 1
D2 = defaultdict(int)
for c in input().strip():
D2[c] += 1
if len(D) != len(D2):
print("No")
else:
for c in D:
if D[c] != D2[c]:
print("No")
break
else:
print("Yes")
nehan_der_thal