結果

問題 No.279 木の数え上げ
ユーザー pypypymipypypymi
提出日時 2022-02-19 14:43:31
言語 PyPy3
(7.3.15)
結果
MLE  
実行時間 -
コード長 213 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 82,288 KB
実行使用メモリ 123,892 KB
最終ジャッジ日時 2024-06-29 10:24:16
合計ジャッジ時間 2,935 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10 MLE * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
s = list(input())
s_v = Counter(s)
result = {}
for i in ["t","r","e"]:
    if i!="e":
        result[i]=s_v[i]
    else:
        result[i]=s_v[i]//2
print(min(result.values()))
    
0