結果
| 問題 | 
                            No.279 木の数え上げ
                             | 
                    
| コンテスト | |
| ユーザー | 
                             しらっ亭
                         | 
                    
| 提出日時 | 2015-09-23 22:03:06 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 120 ms / 2,000 ms | 
| コード長 | 204 bytes | 
| コンパイル時間 | 102 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 13,312 KB | 
| 最終ジャッジ日時 | 2024-10-14 15:13:16 | 
| 合計ジャッジ時間 | 2,377 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 21 | 
ソースコード
from collections import Counter
def solve():
    S = input()
    co = Counter(S)
    t = co['t']
    r = co['r']
    e = co['e']
    print(min(t, r, e // 2))
if __name__ == '__main__':
    solve()
            
            
            
        
            
しらっ亭