結果
| 問題 |
No.279 木の数え上げ
|
| コンテスト | |
| ユーザー |
もぐら 3.0
|
| 提出日時 | 2023-11-14 14:13:00 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 190 bytes |
| コンパイル時間 | 315 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 122,872 KB |
| 最終ジャッジ日時 | 2024-09-26 03:35:08 |
| 合計ジャッジ時間 | 2,690 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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