結果
| 問題 | No.976 2 の 128 乗と M |
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-11-01 21:00:52 |
| 言語 | Common Lisp (sbcl 2.6.7) |
| 結果 |
AC
不安定
|
| 実行時間 | 6 ms / 2,000 ms |
| + 237µs | |
| コード長 | 205 bytes |
| 記録 | |
| コンパイル時間 | 184 ms |
| コンパイル使用メモリ | 27,008 KB |
| 実行使用メモリ | 19,584 KB |
| 最終ジャッジ日時 | 2026-09-19 08:34:27 |
| 合計ジャッジ時間 | 2,799 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 50 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 19 SEP 2026 08:34:23 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.174
ソースコード
(defun main (&rest argv)
(declare (ignorable argv))
(let* ((n (read))
(ans 1))
(dotimes (_ 128)
(setf ans (* 2 ans))
(setf ans (mod ans n)))
(format t "~d~%" ans)))
(main)
Common Lisp