結果

問題 No.305 鍵(2)
ユーザー ああいいああいい
提出日時 2021-12-06 23:13:12
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 181 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 36,336 KB
最終ジャッジ日時 2023-09-24 03:01:39
合計ジャッジ時間 6,565 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
countt = 0
countr = 0
counte = 0
for s in S:
    if s == 't':countt += 1
    elif s == 'r':countr += 1
    elif s == 'e':count += 1
print(min(countt,countr,counte // 2))
0