結果
| 問題 | No.47 ポケットを叩くとビスケットが2倍 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-30 17:41:33 |
| 言語 | Common Lisp (sbcl 2.6.3) |
| 結果 |
AC
|
| 実行時間 | 5 ms / 5,000 ms |
| コード長 | 177 bytes |
| 記録 | |
| コンパイル時間 | 765 ms |
| コンパイル使用メモリ | 36,464 KB |
| 実行使用メモリ | 29,416 KB |
| 最終ジャッジ日時 | 2026-07-08 03:21:46 |
| 合計ジャッジ時間 | 2,507 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 08 JUL 2026 03:21:44 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.032
ソースコード
(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)