結果
| 問題 | No.394 ハーフパイプ(1) |
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-10-09 12:47:10 |
| 言語 | Common Lisp (sbcl 2.6.3) |
| 結果 |
AC
|
| 実行時間 | 6 ms / 2,000 ms |
| コード長 | 210 bytes |
| 記録 | |
| コンパイル時間 | 678 ms |
| コンパイル使用メモリ | 29,440 KB |
| 実行使用メモリ | 22,144 KB |
| 最終ジャッジ日時 | 2026-04-25 15:57:16 |
| 合計ジャッジ時間 | 1,739 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 25 APR 2026 03:57:13 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.012
ソースコード
; ソートして部分リストを足し合わせ 4 で割った平均を出力する (defun main () (format t "~,2f~%" (/ (reduce #'+ (sort (loop repeat 6 collect (read)) #'<) :start 1 :end 5) 4d0))) (main)
Common Lisp