結果
| 問題 |
No.98 円を描こう
|
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-10-30 22:03:51 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
AC
|
| 実行時間 | 11 ms / 5,000 ms |
| コード長 | 257 bytes |
| コンパイル時間 | 243 ms |
| コンパイル使用メモリ | 37,008 KB |
| 実行使用メモリ | 28,112 KB |
| 最終ジャッジ日時 | 2024-10-30 22:03:52 |
| 合計ジャッジ時間 | 1,172 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 6 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 30 OCT 2024 10:03:51 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.004
ソースコード
(defun main (&rest argv)
(declare (ignorable argv))
(let* ((xp (read))
(yp (read))
(ans 0))
(loop (when (> (* ans ans) (+ (* 4 xp xp) (* 4 yp yp)))
(return))
(incf ans))
(format t "~d~%" ans)))
(main)
Common Lisp