結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-10-07 13:50:07 |
| 言語 | Common Lisp (sbcl 2.6.3) |
| 結果 |
AC
|
| 実行時間 | 6 ms / 5,000 ms |
| コード長 | 172 bytes |
| 記録 | |
| コンパイル時間 | 77 ms |
| コンパイル使用メモリ | 27,776 KB |
| 実行使用メモリ | 22,272 KB |
| 最終ジャッジ日時 | 2026-04-24 04:09:22 |
| 合計ジャッジ時間 | 1,176 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 24 APR 2026 04:09:20 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.002
ソースコード
; k * ((⌈l / k⌉ - 1) / 2)
(defun main ()
(let* ((l (read))
(k (read))
(ans (* k (ash (1- (ceiling l k)) -1))))
(princ ans)
(terpri)))
(main)
Common Lisp