結果
問題 |
No.279 木の数え上げ
|
ユーザー |
![]() |
提出日時 | 2025-03-20 21:01:03 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 42 ms / 2,000 ms |
コード長 | 159 bytes |
コンパイル時間 | 144 ms |
コンパイル使用メモリ | 82,232 KB |
実行使用メモリ | 58,552 KB |
最終ジャッジ日時 | 2025-03-20 21:01:16 |
合計ジャッジ時間 | 2,112 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
s = input().strip() count_t = s.count('t') count_r = s.count('r') count_e = s.count('e') max_n = min(count_t, count_r, count_e // 2, len(s) // 4) print(max_n)