結果
| 問題 |
No.279 木の数え上げ
|
| コンテスト | |
| ユーザー |
yaoshimax
|
| 提出日時 | 2016-05-13 12:44:02 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 174 ms / 2,000 ms |
| コード長 | 172 bytes |
| コンパイル時間 | 297 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 7,296 KB |
| 最終ジャッジ日時 | 2024-10-14 15:29:05 |
| 合計ジャッジ時間 | 2,443 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
S=raw_input()
tcnt,rcnt,ecnt=0,0,0
for s in S:
if s=='t':
tcnt+=1
if s=='r':
rcnt+=1
if s=='e':
ecnt+=1
print min( tcnt, rcnt, ecnt/2 )
yaoshimax