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