結果
| 問題 | No.279 木の数え上げ |
| コンテスト | |
| ユーザー |
もぐら 3.0
|
| 提出日時 | 2023-11-14 14:13:00 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 128,148 KB |
| 最終ジャッジ日時 | 2026-04-13 06:13:40 |
| 合計ジャッジ時間 | 2,931 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 MLE * 11 |
ソースコード
S = list(input())
t_cnt=0
r_cnt=0
e_cnt=0
for s in S:
if s=="t":
t_cnt+=1
elif s=="r":
r_cnt+=1
elif s=="e":
e_cnt+=1
print(min(t_cnt,r_cnt,(e_cnt)//2))
もぐら 3.0