結果
問題 |
No.279 木の数え上げ
|
ユーザー |
![]() |
提出日時 | 2023-02-12 08:21:45 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 177 ms / 2,000 ms |
コード長 | 196 bytes |
コンパイル時間 | 130 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 13,312 KB |
最終ジャッジ日時 | 2024-07-16 02:15:26 |
合計ジャッジ時間 | 2,831 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
s = input() #s = list(s) #x = Counter(s) x = [0]*3 for i in s: if i == "t": x[0] += 1 elif i == "r": x[1] += 1 elif i == "e": x[2] += 1 x[2] //= 2 print(min(x))