結果
問題 |
No.279 木の数え上げ
|
ユーザー |
![]() |
提出日時 | 2018-05-19 00:00:19 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 183 bytes |
コンパイル時間 | 109 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 13,568 KB |
最終ジャッジ日時 | 2024-06-28 14:10:07 |
合計ジャッジ時間 | 1,654 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 21 |
ソースコード
s=input() t_c=0 r_c=0 e_c=0 for i in range(len(s)): if s[i]=='t': t_c+=1 elif s[i]=='r': t_r+=1 elif s[i]=='e': t_e+=1 print(min(t_c,t_r,t_e//2))