結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-20 16:32:01 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 403 bytes |
| コンパイル時間 | 711 ms |
| コンパイル使用メモリ | 29,184 KB |
| 実行使用メモリ | 27,672 KB |
| 最終ジャッジ日時 | 2025-03-20 16:32:04 |
| 合計ジャッジ時間 | 1,649 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 10 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 20 MAR 2025 04:32:02 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.073
ソースコード
(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) (format 't "~d~%" i)))
)
)
)