結果

問題 No.279 木の数え上げ
ユーザー k0825k0825
提出日時 2019-04-26 11:53:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 275 ms / 2,000 ms
コード長 105 bytes
コンパイル時間 243 ms
コンパイル使用メモリ 10,612 KB
実行使用メモリ 10,676 KB
最終ジャッジ日時 2023-08-15 18:20:34
合計ジャッジ時間 3,380 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
7,876 KB
testcase_01 AC 13 ms
7,848 KB
testcase_02 AC 13 ms
7,816 KB
testcase_03 AC 13 ms
7,892 KB
testcase_04 AC 12 ms
7,804 KB
testcase_05 AC 13 ms
7,912 KB
testcase_06 AC 13 ms
7,836 KB
testcase_07 AC 13 ms
7,804 KB
testcase_08 AC 14 ms
7,824 KB
testcase_09 AC 13 ms
7,832 KB
testcase_10 AC 248 ms
9,660 KB
testcase_11 AC 35 ms
8,340 KB
testcase_12 AC 136 ms
8,888 KB
testcase_13 AC 24 ms
8,156 KB
testcase_14 AC 275 ms
10,676 KB
testcase_15 AC 199 ms
9,648 KB
testcase_16 AC 180 ms
9,392 KB
testcase_17 AC 250 ms
10,508 KB
testcase_18 AC 93 ms
8,740 KB
testcase_19 AC 233 ms
9,708 KB
testcase_20 AC 269 ms
9,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input(); t=''
for i in s:
	if i in 'tree': t+=i
print(min([t.count('t'),t.count('r'),t.count('e')//2]))
0