結果
問題 | No.63 ポッキーゲーム |
ユーザー |
|
提出日時 | 2025-03-21 23:30:11 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 13 ms / 5,000 ms |
コード長 | 272 bytes |
コンパイル時間 | 455 ms |
コンパイル使用メモリ | 32,988 KB |
実行使用メモリ | 27,672 KB |
最終ジャッジ日時 | 2025-03-21 23:30:15 |
合計ジャッジ時間 | 1,901 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 21 MAR 2025 11:30:11 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.113
ソースコード
(defvar L)(defvar K)(defvar temp)(setq temp (read-from-string (concatenate 'string "(" (read-line) ")" )))(setq L (nth 0 temp ))(setq K (nth 1 temp ))(defvar ans)(setq ans (floor L (* K 2)))(if (eq (* ans K 2) L) (setq ans (decf ans)))(format 't "~d~%" (* ans K))