結果
問題 |
No.305 鍵(2)
|
ユーザー |
|
提出日時 | 2021-12-06 23:13:12 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 181 bytes |
コンパイル時間 | 125 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 42,280 KB |
最終ジャッジ日時 | 2024-07-17 03:06:33 |
合計ジャッジ時間 | 6,629 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 12 |
ソースコード
S = input() countt = 0 countr = 0 counte = 0 for s in S: if s == 't':countt += 1 elif s == 'r':countr += 1 elif s == 'e':count += 1 print(min(countt,countr,counte // 2))