結果

問題 No.279 木の数え上げ
ユーザー TakoKurageTakoKurage
提出日時 2020-01-17 09:37:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 108 bytes
コンパイル時間 138 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 11,016 KB
最終ジャッジ日時 2023-09-07 21:19:29
合計ジャッジ時間 2,211 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,316 KB
testcase_01 AC 19 ms
8,412 KB
testcase_02 AC 18 ms
8,352 KB
testcase_03 AC 18 ms
8,316 KB
testcase_04 AC 18 ms
8,404 KB
testcase_05 AC 18 ms
8,316 KB
testcase_06 AC 18 ms
8,404 KB
testcase_07 AC 18 ms
8,344 KB
testcase_08 AC 19 ms
8,328 KB
testcase_09 AC 18 ms
8,384 KB
testcase_10 AC 87 ms
10,044 KB
testcase_11 AC 34 ms
8,644 KB
testcase_12 AC 64 ms
9,404 KB
testcase_13 AC 26 ms
8,648 KB
testcase_14 AC 95 ms
11,004 KB
testcase_15 AC 80 ms
10,016 KB
testcase_16 AC 75 ms
9,828 KB
testcase_17 AC 88 ms
11,016 KB
testcase_18 AC 55 ms
9,300 KB
testcase_19 AC 86 ms
10,020 KB
testcase_20 AC 90 ms
10,304 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

S = input()

C = Counter(S)

print(min(
    C["t"], C["r"], C["e"] // 2
))
0