結果

問題 No.279 木の数え上げ
ユーザー yohei-ku
提出日時 2018-03-09 23:58:33
言語 Python2
(2.7.18)
結果
AC  
実行時間 20 ms / 2,000 ms
コード長 152 bytes
コンパイル時間 635 ms
コンパイル使用メモリ 7,076 KB
実行使用メモリ 7,424 KB
最終ジャッジ日時 2024-10-10 21:12:45
合計ジャッジ時間 1,861 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

S = raw_input()
if S.count("t") == S.count("r") == S.count("e")/2:
    print S.count("t")
else:
    print min(S.count("t"),S.count("r"),S.count("e")/2)
0