結果

問題 No.279 木の数え上げ
ユーザー keiden
提出日時 2024-09-16 18:49:08
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 550 ms / 2,000 ms
コード長 240 bytes
コンパイル時間 404 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 18,688 KB
最終ジャッジ日時 2024-09-16 18:49:14
合計ジャッジ時間 6,105 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

(use srfi.13)

(define yuki279
  (let*
    (
      (s (read-line))
      (t (string-count s #\t))
      (r (string-count s #\r))
      (e (string-count s #\e))
      (ans (min t r (quotient e 2)) )
    )
    (write ans)
    (newline)
  )
)
0