結果

問題 No.279 木の数え上げ
ユーザー rpy3cpprpy3cpp
提出日時 2015-09-18 22:37:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 88 ms / 2,000 ms
コード長 113 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 10,600 KB
実行使用メモリ 10,960 KB
最終ジャッジ日時 2023-08-04 17:59:27
合計ジャッジ時間 2,096 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,312 KB
testcase_01 AC 17 ms
8,308 KB
testcase_02 AC 18 ms
8,300 KB
testcase_03 AC 18 ms
8,260 KB
testcase_04 AC 18 ms
8,404 KB
testcase_05 AC 17 ms
8,352 KB
testcase_06 AC 17 ms
8,328 KB
testcase_07 AC 17 ms
8,332 KB
testcase_08 AC 17 ms
8,360 KB
testcase_09 AC 17 ms
8,324 KB
testcase_10 AC 86 ms
9,904 KB
testcase_11 AC 34 ms
8,656 KB
testcase_12 AC 64 ms
9,380 KB
testcase_13 AC 27 ms
8,608 KB
testcase_14 AC 88 ms
10,904 KB
testcase_15 AC 76 ms
9,904 KB
testcase_16 AC 75 ms
9,784 KB
testcase_17 AC 88 ms
10,960 KB
testcase_18 AC 54 ms
9,200 KB
testcase_19 AC 83 ms
9,996 KB
testcase_20 AC 87 ms
10,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections
S = input()
c = collections.Counter(S)
t = c['t']
r = c['r']
e = c['e']//2
print(min(t, r, e))
0