結果
| 問題 | No.279 木の数え上げ |
| コンテスト | |
| ユーザー |
あかりき
|
| 提出日時 | 2021-05-24 06:26:57 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 494 ms / 2,000 ms |
| コード長 | 172 bytes |
| 記録 | |
| コンパイル時間 | 528 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 23,796 KB |
| 最終ジャッジ日時 | 2026-04-29 11:11:54 |
| 合計ジャッジ時間 | 7,949 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
s=list(input())
ct=[0]*3
for i in range(len(s)):
if s[i]=='t':
ct[0]+=1
elif s[i]=='r':
ct[1]+=1
elif s[i]=='e':
ct[2]+=1
print(min(ct[0],ct[1],ct[2]//2))
あかりき