結果

問題 No.279 木の数え上げ
ユーザー roiti46roiti46
提出日時 2015-09-18 22:21:17
言語 Python2
(2.7.18)
結果
AC  
実行時間 151 ms / 2,000 ms
コード長 137 bytes
コンパイル時間 746 ms
コンパイル使用メモリ 7,076 KB
実行使用メモリ 7,068 KB
最終ジャッジ日時 2023-08-04 17:55:12
合計ジャッジ時間 3,333 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,928 KB
testcase_01 AC 11 ms
6,104 KB
testcase_02 AC 11 ms
5,872 KB
testcase_03 AC 11 ms
5,928 KB
testcase_04 AC 11 ms
6,032 KB
testcase_05 AC 11 ms
6,088 KB
testcase_06 AC 11 ms
5,844 KB
testcase_07 AC 11 ms
6,112 KB
testcase_08 AC 12 ms
6,040 KB
testcase_09 AC 11 ms
5,872 KB
testcase_10 AC 141 ms
6,712 KB
testcase_11 AC 40 ms
6,272 KB
testcase_12 AC 100 ms
6,596 KB
testcase_13 AC 27 ms
6,096 KB
testcase_14 AC 151 ms
7,068 KB
testcase_15 AC 126 ms
6,716 KB
testcase_16 AC 115 ms
6,728 KB
testcase_17 AC 142 ms
6,892 KB
testcase_18 AC 79 ms
6,548 KB
testcase_19 AC 138 ms
6,972 KB
testcase_20 AC 148 ms
6,884 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = raw_input()
t = r = e = 0
for c in s:
    if c == "t": t += 1
    if c == "r": r += 1
    if c == "e": e += 1
print min(t, r, e / 2)
0