結果

問題 No.279 木の数え上げ
ユーザー fV9TwBhUoa9S3eVfV9TwBhUoa9S3eV
提出日時 2019-09-18 11:03:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 141 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 10,684 KB
実行使用メモリ 9,880 KB
最終ジャッジ日時 2023-09-22 04:54:00
合計ジャッジ時間 1,583 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,824 KB
testcase_01 AC 14 ms
7,764 KB
testcase_02 AC 15 ms
7,836 KB
testcase_03 AC 15 ms
7,900 KB
testcase_04 AC 14 ms
7,820 KB
testcase_05 AC 15 ms
7,812 KB
testcase_06 AC 14 ms
7,824 KB
testcase_07 AC 15 ms
7,836 KB
testcase_08 AC 15 ms
7,836 KB
testcase_09 AC 15 ms
7,824 KB
testcase_10 AC 19 ms
9,684 KB
testcase_11 AC 16 ms
8,296 KB
testcase_12 AC 18 ms
9,160 KB
testcase_13 AC 16 ms
8,096 KB
testcase_14 AC 21 ms
9,880 KB
testcase_15 AC 19 ms
9,680 KB
testcase_16 AC 19 ms
9,336 KB
testcase_17 AC 20 ms
9,728 KB
testcase_18 AC 17 ms
8,920 KB
testcase_19 AC 21 ms
9,692 KB
testcase_20 AC 21 ms
9,784 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# No.279 木の数え上げ
s = input()

num_t = s.count('t')
num_r = s.count('r')
num_e = s.count('e')

print(min(num_t, num_r, num_e // 2))
0