結果

問題 No.279 木の数え上げ
ユーザー vwxyzvwxyz
提出日時 2022-04-18 21:48:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 22 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 69 ms
コンパイル使用メモリ 10,480 KB
実行使用メモリ 9,864 KB
最終ジャッジ日時 2023-08-28 18:22:28
合計ジャッジ時間 1,754 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,776 KB
testcase_01 AC 14 ms
7,832 KB
testcase_02 AC 13 ms
7,804 KB
testcase_03 AC 14 ms
7,748 KB
testcase_04 AC 14 ms
7,744 KB
testcase_05 AC 13 ms
7,804 KB
testcase_06 AC 13 ms
7,744 KB
testcase_07 AC 13 ms
7,804 KB
testcase_08 AC 13 ms
7,748 KB
testcase_09 AC 14 ms
7,744 KB
testcase_10 AC 19 ms
9,676 KB
testcase_11 AC 15 ms
8,352 KB
testcase_12 AC 17 ms
9,144 KB
testcase_13 AC 14 ms
8,152 KB
testcase_14 AC 20 ms
9,864 KB
testcase_15 AC 22 ms
9,584 KB
testcase_16 AC 18 ms
9,404 KB
testcase_17 AC 19 ms
9,692 KB
testcase_18 AC 17 ms
8,852 KB
testcase_19 AC 19 ms
9,648 KB
testcase_20 AC 20 ms
9,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
readline=sys.stdin.readline

S=readline().rstrip()
ans=min(S.count("t"),S.count("r"),S.count("e")//2)
print(ans)
0