結果
問題 | No.172 UFOを捕まえろ |
ユーザー | Common Lisp |
提出日時 | 2024-10-31 03:34:35 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 10 ms / 5,000 ms |
コード長 | 211 bytes |
コンパイル時間 | 213 ms |
コンパイル使用メモリ | 39,704 KB |
実行使用メモリ | 32,020 KB |
最終ジャッジ日時 | 2024-10-31 03:34:37 |
合計ジャッジ時間 | 1,735 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 31 OCT 2024 03:34:35 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.012
ソースコード
(defun main (&rest argv)(declare (ignorable argv))(let* ((x (read))(y (read))(r (read))(d (+ (abs x) (abs y) (ceiling (* r (expt 2 0.5d0))))))(format t "~d~%" d)))(main)