結果

問題 No.279 木の数え上げ
ユーザー akitsugu777akitsugu777
提出日時 2019-06-17 15:19:16
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 226 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 203 ms
コンパイル使用メモリ 10,612 KB
実行使用メモリ 9,880 KB
最終ジャッジ日時 2023-08-18 09:18:04
合計ジャッジ時間 3,703 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,804 KB
testcase_01 AC 16 ms
7,784 KB
testcase_02 AC 15 ms
7,928 KB
testcase_03 AC 15 ms
7,736 KB
testcase_04 AC 15 ms
7,880 KB
testcase_05 AC 15 ms
7,832 KB
testcase_06 AC 15 ms
7,848 KB
testcase_07 AC 15 ms
7,848 KB
testcase_08 AC 15 ms
7,800 KB
testcase_09 AC 15 ms
7,812 KB
testcase_10 AC 216 ms
9,612 KB
testcase_11 AC 56 ms
8,312 KB
testcase_12 AC 154 ms
9,236 KB
testcase_13 AC 41 ms
8,076 KB
testcase_14 AC 226 ms
9,880 KB
testcase_15 AC 194 ms
9,788 KB
testcase_16 AC 167 ms
9,444 KB
testcase_17 AC 207 ms
9,744 KB
testcase_18 AC 112 ms
8,852 KB
testcase_19 AC 205 ms
9,824 KB
testcase_20 AC 211 ms
9,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()

d = {}
for i in s:
    if not i in d:
        d[i] = 1
    else:
        d[i] += 1

md = {'t': 1, 'r': 1, 'e': 2}

l = []
for i in md:
    l.append(d[i] // md[i])

print(min(l))
0