結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
|
提出日時 | 2025-03-30 17:41:33 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 11 ms / 5,000 ms |
コード長 | 177 bytes |
コンパイル時間 | 1,304 ms |
コンパイル使用メモリ | 28,192 KB |
実行使用メモリ | 25,792 KB |
最終ジャッジ日時 | 2025-03-30 17:41:36 |
合計ジャッジ時間 | 2,143 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 30 MAR 2025 05:41:33 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.064
ソースコード
(defparameter N (parse-integer (read-line))) (defparameter cnt 0) (defparameter c 1) (loop while (< c N) do (incf cnt) (setq c (* c 2)) ) (format t "~d~%" cnt)