結果
| 問題 |
No.8020 サンシャイン◯崎
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-20 19:52:28 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 61 ms / 1,000 ms |
| コード長 | 266 bytes |
| コンパイル時間 | 200 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 68,992 KB |
| 最終ジャッジ日時 | 2024-06-29 10:56:26 |
| 合計ジャッジ時間 | 2,489 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
# 「Y」「E」「A」「H」「!
from collections import Counter
array = dict(Counter(list(input())))
result = []
for i in ["Y","E","A","H","!"]:
index = 0
try:
index = array[i]
except:
None
result.append(index)
print(*result)