結果

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

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

ソースコード

diff #

(defun main ()
  (destructuring-bind (p q r) (mapcar (lambda (x)
                                        (/ x 100))
                                      (list (read) (read) (read)))
    (let ((*read-default-float-format* 'double-float))
      (princ
       (float (/ (max (+ p q)
                      (+ q r)
                      (+ r p))
                 (+ p q r)))))))

(main)
0