結果

問題 No.279 木の数え上げ
ユーザー titiatitia
提出日時 2022-09-23 18:51:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 93 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 438 ms
コンパイル使用メモリ 10,528 KB
実行使用メモリ 10,960 KB
最終ジャッジ日時 2023-08-23 21:03:19
合計ジャッジ時間 3,732 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,464 KB
testcase_01 AC 17 ms
8,352 KB
testcase_02 AC 17 ms
8,368 KB
testcase_03 AC 17 ms
8,284 KB
testcase_04 AC 17 ms
8,400 KB
testcase_05 AC 18 ms
8,272 KB
testcase_06 AC 18 ms
8,396 KB
testcase_07 AC 17 ms
8,348 KB
testcase_08 AC 18 ms
8,340 KB
testcase_09 AC 18 ms
8,304 KB
testcase_10 AC 88 ms
9,856 KB
testcase_11 AC 32 ms
8,664 KB
testcase_12 AC 67 ms
9,392 KB
testcase_13 AC 27 ms
8,556 KB
testcase_14 AC 93 ms
10,960 KB
testcase_15 AC 83 ms
10,076 KB
testcase_16 AC 72 ms
9,696 KB
testcase_17 AC 87 ms
10,932 KB
testcase_18 AC 53 ms
9,192 KB
testcase_19 AC 88 ms
9,976 KB
testcase_20 AC 91 ms
10,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
S=input()
C=Counter(S)

ANS=1<<60
ANS=min(ANS,C["t"])
ANS=min(ANS,C["r"])
ANS=min(ANS,C["e"]//2)

print(ANS)
0