結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-20 16:38:01 |
| 言語 | Common Lisp (sbcl 2.6.3) |
| 結果 |
AC
|
| 実行時間 | 6 ms / 5,000 ms |
| コード長 | 589 bytes |
| 記録 | |
| コンパイル時間 | 192 ms |
| コンパイル使用メモリ | 28,288 KB |
| 実行使用メモリ | 19,712 KB |
| 最終ジャッジ日時 | 2026-07-07 07:05:01 |
| 合計ジャッジ時間 | 1,294 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 07 JUL 2026 07:04:59 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.094
ソースコード
(defvar A)
(defvar B)
(defvar temp)
(setq temp (read-line))
(setq temp (read-from-string (concatenate 'string "(" temp ")" )) )
(setq A (nth 0 temp))
(setq B (nth 1 temp))
(loop for i from A to B do
(if (= (mod i 3) 0)
(format 't "~d~%" i)
(progn
(setq temp (princ-to-string i))
(loop for j from 0 to (- (length temp) 1) do
(if (eq (aref temp j ) #\3)
(progn
(format 't "~d~%" i)
(return)
)
)
)
)
)
)