結果

問題 No.279 木の数え上げ
ユーザー gma712gma712
提出日時 2018-08-20 01:54:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 180 bytes
コンパイル時間 89 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 20,160 KB
最終ジャッジ日時 2024-05-01 23:41:32
合計ジャッジ時間 2,024 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
10,624 KB
testcase_01 AC 25 ms
10,368 KB
testcase_02 AC 25 ms
10,368 KB
testcase_03 AC 26 ms
10,368 KB
testcase_04 AC 25 ms
10,368 KB
testcase_05 AC 25 ms
10,496 KB
testcase_06 AC 24 ms
10,496 KB
testcase_07 AC 28 ms
10,496 KB
testcase_08 AC 25 ms
10,368 KB
testcase_09 AC 24 ms
10,368 KB
testcase_10 AC 90 ms
19,436 KB
testcase_11 AC 40 ms
12,416 KB
testcase_12 AC 69 ms
16,168 KB
testcase_13 AC 38 ms
11,648 KB
testcase_14 AC 95 ms
20,160 KB
testcase_15 AC 80 ms
17,856 KB
testcase_16 AC 77 ms
17,160 KB
testcase_17 AC 88 ms
19,452 KB
testcase_18 AC 60 ms
14,796 KB
testcase_19 AC 86 ms
19,328 KB
testcase_20 AC 90 ms
19,244 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8

def main():
    sentences = list(input())
    print(min(sentences.count('t'),sentences.count('r'),sentences.count('e')//2))


if __name__ == '__main__':
    main()
0