結果
問題 | No.63 ポッキーゲーム |
ユーザー |
![]() |
提出日時 | 2024-10-07 13:50:07 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 9 ms / 5,000 ms |
コード長 | 172 bytes |
コンパイル時間 | 101 ms |
コンパイル使用メモリ | 33,596 KB |
実行使用メモリ | 25,644 KB |
最終ジャッジ日時 | 2024-10-07 13:50:09 |
合計ジャッジ時間 | 1,053 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 07 OCT 2024 01:50:07 PM): ; 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)