結果

問題 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  
実行時間 5 ms / 2,000 ms
+ 506µs
コード長 422 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 40 ms
コンパイル使用メモリ 27,776 KB
実行使用メモリ 19,712 KB
最終ジャッジ日時 2026-08-20 12:31:48
合計ジャッジ時間 2,114 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 36
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 20 AUG 2026 12:31:46 PM):

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

ソースコード

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