結果
| 問題 |
No.279 木の数え上げ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-22 10:56:18 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 197 bytes |
| コンパイル時間 | 511 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 77,184 KB |
| 最終ジャッジ日時 | 2024-11-27 05:26:46 |
| 合計ジャッジ時間 | 2,962 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 MLE * 11 |
ソースコード
s = input()
from collections import defaultdict
d = defaultdict(int)
for si in s:
if si=="t" or si=="r"or si=="e":
d[si]+=1
d = dict(d)
d['e']=int(d['e']/2)
print(min(list(d.values())))