結果

問題 No.279 木の数え上げ
ユーザー brthyyjpbrthyyjp
提出日時 2020-09-16 14:31:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 172 ms / 2,000 ms
コード長 166 bytes
コンパイル時間 105 ms
コンパイル使用メモリ 10,696 KB
実行使用メモリ 9,856 KB
最終ジャッジ日時 2023-09-04 03:30:53
合計ジャッジ時間 2,719 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,812 KB
testcase_01 AC 16 ms
7,880 KB
testcase_02 AC 16 ms
7,880 KB
testcase_03 AC 16 ms
7,852 KB
testcase_04 AC 16 ms
7,832 KB
testcase_05 AC 16 ms
7,760 KB
testcase_06 AC 16 ms
7,864 KB
testcase_07 AC 15 ms
7,884 KB
testcase_08 AC 16 ms
7,812 KB
testcase_09 AC 16 ms
7,844 KB
testcase_10 AC 161 ms
9,632 KB
testcase_11 AC 48 ms
8,256 KB
testcase_12 AC 115 ms
9,172 KB
testcase_13 AC 34 ms
8,044 KB
testcase_14 AC 172 ms
9,856 KB
testcase_15 AC 147 ms
9,700 KB
testcase_16 AC 134 ms
9,444 KB
testcase_17 AC 162 ms
9,692 KB
testcase_18 AC 91 ms
8,892 KB
testcase_19 AC 159 ms
9,656 KB
testcase_20 AC 170 ms
9,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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