結果

問題 No.279 木の数え上げ
コンテスト
ユーザー brthyyjp
提出日時 2020-09-16 14:31:06
言語 Python3
(3.14.3 + numpy 2.4.2 + scipy 1.17.0)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
AC  
実行時間 355 ms / 2,000 ms
コード長 166 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 656 ms
コンパイル使用メモリ 20,828 KB
実行使用メモリ 17,112 KB
最終ジャッジ日時 2026-03-06 08:37:12
合計ジャッジ時間 6,182 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

s = str(input())
t = 0
r = 0
e = 0
for c in s:
    if c == 't':
        t += 1
    if c == 'r':
        r += 1
    if c == 'e':
        e += 1
print(min(t, r, e//2))
0