結果
| 問題 |
No.279 木の数え上げ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-10-25 17:56:43 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 159 ms / 2,000 ms |
| コード長 | 297 bytes |
| コンパイル時間 | 120 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 20,124 KB |
| 最終ジャッジ日時 | 2024-07-20 17:41:56 |
| 合計ジャッジ時間 | 2,823 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
class Problem0279:
def solve(this):
res = {}
for c in list(input()):
res[c] = res.get(c, 0) + 1
cnt = min(res.get('t', 0), res.get('r', 0), res.get('e', 0) // 2)
print(cnt)
if __name__ == "__main__":
problem = Problem0279()
problem.solve()