結果

問題 No.1230 Hall_and_me
コンテスト
ユーザー motoshira
提出日時 2020-10-14 23:06:56
言語 Common Lisp
(sbcl 2.6.3)
コンパイル:
sbclc _filename_
実行:
sbcl --script Main.fasl
結果
AC  
実行時間 11 ms / 2,000 ms
コード長 422 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 82 ms
コンパイル使用メモリ 38,360 KB
実行使用メモリ 30,368 KB
最終ジャッジ日時 2026-04-03 02:14:23
合計ジャッジ時間 1,600 ms
ジャッジサーバーID
(参考情報)
judge4_1 / judge5_1
純コード判定待ち
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 36
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 03 APR 2026 02:14:20 AM):

; wrote /home/judge/data/code/Main.fasl
; compilation finished in 0:00:00.026

ソースコード

diff #
raw source code

(defun main ()
  (destructuring-bind (p q r) (mapcar (lambda (x)
                                        (/ x 100))
                                      (list (read) (read) (read)))
    (let ((*read-default-float-format* 'double-float))
      (format t "~,10f"
       (coerce
        (/ (max (+ p q)
                (+ q r)
                (+ r p))
           (+ p q r))
        'double-float))
      (terpri))))

(main)
0