結果
| 問題 | No.279 木の数え上げ |
| コンテスト | |
| ユーザー |
turner18_jp
|
| 提出日時 | 2017-09-29 13:03:55 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 2,000 ms |
| + 160µs | |
| コード長 | 194 bytes |
| 記録 | |
| コンパイル時間 | 58 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 13,696 KB |
| 最終ジャッジ日時 | 2026-09-23 13:38:46 |
| 合計ジャッジ時間 | 2,256 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
s = input()
t = s.count("t")
r = s.count('r')
e = s.count('e')
base = min(t,r)
if (int(e / 2)) >= base:
print(base)
elif (int(e / 2)) <= base:
print((int(e / 2)))
else:
print('0')
turner18_jp