結果

問題 No.1372 Median of Submasks
コンテスト
ユーザー linuxmetel
提出日時 2021-02-05 21:25:38
言語 Common Lisp
(sbcl 2.6.3)
コンパイル:
sbclc _filename_
実行:
sbcl --script Main.fasl
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 104 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 967 ms
コンパイル使用メモリ 25,216 KB
実行使用メモリ 20,096 KB
最終ジャッジ日時 2026-03-23 20:00:40
合計ジャッジ時間 1,664 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 24
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 23 MAR 2026 08:00:37 PM):

; wrote /home/judge/data/code/Main.fasl
; compilation finished in 0:00:00.071

ソースコード

diff #
raw source code

(let ((n (read)))
(princ (/ (loop with i = 1
      do (setq i (* i 2))
      when (> i n) return i) 2)))
0