結果

問題 No.1230 Hall_and_me
ユーザー motoshira
提出日時 2020-10-14 23:06:56
言語 Common Lisp
(sbcl 2.5.0)
結果
AC  
実行時間 11 ms / 2,000 ms
コード長 422 bytes
コンパイル時間 190 ms
コンパイル使用メモリ 35,532 KB
実行使用メモリ 22,016 KB
最終ジャッジ日時 2024-07-20 19:33:17
合計ジャッジ時間 1,632 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 36
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 20 JUL 2024 07:33:15 PM):

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

ソースコード

diff #

(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