結果

問題 No.279 木の数え上げ
ユーザー UMRgurashiUMRgurashi
提出日時 2022-05-13 15:02:10
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 173 ms / 2,000 ms
コード長 145 bytes
コンパイル時間 471 ms
コンパイル使用メモリ 10,744 KB
実行使用メモリ 9,912 KB
最終ジャッジ日時 2023-09-28 19:08:15
合計ジャッジ時間 3,508 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,876 KB
testcase_01 AC 16 ms
7,808 KB
testcase_02 AC 16 ms
7,784 KB
testcase_03 AC 16 ms
7,844 KB
testcase_04 AC 16 ms
7,760 KB
testcase_05 AC 16 ms
7,836 KB
testcase_06 AC 16 ms
7,840 KB
testcase_07 AC 16 ms
7,932 KB
testcase_08 AC 17 ms
7,840 KB
testcase_09 AC 16 ms
7,836 KB
testcase_10 AC 164 ms
9,644 KB
testcase_11 AC 48 ms
8,376 KB
testcase_12 AC 114 ms
9,292 KB
testcase_13 AC 34 ms
8,192 KB
testcase_14 AC 173 ms
9,820 KB
testcase_15 AC 145 ms
9,700 KB
testcase_16 AC 137 ms
9,460 KB
testcase_17 AC 162 ms
9,872 KB
testcase_18 AC 92 ms
8,928 KB
testcase_19 AC 159 ms
9,692 KB
testcase_20 AC 170 ms
9,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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