結果
問題 |
No.279 木の数え上げ
|
ユーザー |
![]() |
提出日時 | 2025-03-20 18:48:05 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 48 ms / 2,000 ms |
コード長 | 159 bytes |
コンパイル時間 | 169 ms |
コンパイル使用メモリ | 82,664 KB |
実行使用メモリ | 58,656 KB |
最終ジャッジ日時 | 2025-03-20 18:49:32 |
合計ジャッジ時間 | 1,980 ms |
ジャッジサーバーID (参考情報) |
judge3 / 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)