結果
| 問題 | 
                            No.279 木の数え上げ
                             | 
                    
| コンテスト | |
| ユーザー | 
                             rocoder
                         | 
                    
| 提出日時 | 2017-06-04 17:23:40 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 210 bytes | 
| コンパイル時間 | 124 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 19,608 KB | 
| 最終ジャッジ日時 | 2024-09-22 05:42:26 | 
| 合計ジャッジ時間 | 3,536 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 20 WA * 1 | 
ソースコード
S=list(input())
t=0
r=0
e=0
for i in range(len(S)):
    if S[i]=="t":
        t+=1
    elif S[i]=="r":
        r+=1
    elif S[i]=="e":
        e+=1
t*=2
r*=2
m=t
if m>r:
    m=r
if m>e:
    m=e
e//=2
print (e)
            
            
            
        
            
rocoder