結果
| 問題 | No.410 出会い |
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-10-09 21:32:11 |
| 言語 | Common Lisp (sbcl 2.6.7) |
| 結果 |
AC
不安定
|
| 実行時間 | 5 ms / 2,000 ms |
| + 687µs | |
| コード長 | 292 bytes |
| 記録 | |
| コンパイル時間 | 954 ms |
| コンパイル使用メモリ | 26,368 KB |
| 実行使用メモリ | 19,840 KB |
| 最終ジャッジ日時 | 2026-09-12 20:49:27 |
| 合計ジャッジ時間 | 2,687 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 19 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 12 SEP 2026 08:49:24 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.027
ソースコード
; 2 点間のマンハッタン距離の半分を出力する
(defun main (&rest argv)
(declare (ignorable argv))
(let* ((px (read))
(py (read))
(qx (read))
(qy (read))
(ans (/ (+ (abs (- px qx)) (abs (- py qy))) 2)))
(format t "~f~%" ans)))
(main)
Common Lisp