結果
| 問題 | No.279 木の数え上げ |
| コンテスト | |
| ユーザー |
rocoder
|
| 提出日時 | 2017-06-04 17:20:16 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 213 bytes |
| 記録 | |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 20,332 KB |
| 最終ジャッジ日時 | 2024-09-22 05:42:19 |
| 合計ジャッジ時間 | 3,607 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 21 |
ソースコード
S=list(input())
t=0
r=0
e=0
for i in range(len(S)):
if S[i]=="t":
t+=1
elif S[i]=="r":
r+=1
elif S[i]=="e":
e+=1
t*=2
r*=2
m=t
if m>r:
m=r
if m>e:
m=e
print (e)
rocoder