結果

問題 No.279 木の数え上げ
ユーザー jjwatt
提出日時 2020-03-26 10:41:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 250 bytes
コンパイル時間 427 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 32,636 KB
最終ジャッジ日時 2025-01-02 00:56:32
合計ジャッジ時間 34,872 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10 TLE * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

x=list(input())
count=0
y=[]
for i in x:
    y.append(i)
    if "t" in y and "r" in y and y.count("e")>1:
        count+=1
        y.remove("t")
        y.remove("r")
        y.remove("e")
        y.remove("e")
    else:
        continue
print(count)
0