結果
| 問題 | No.701 ひとりしりとり |
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-11-03 12:42:28 |
| 言語 | Common Lisp (sbcl 2.6.7) |
| 結果 |
AC
不安定
|
| 実行時間 | 74 ms / 2,000 ms |
| + 974µs | |
| コード長 | 464 bytes |
| 記録 | |
| コンパイル時間 | 15 ms |
| コンパイル使用メモリ | 27,904 KB |
| 実行使用メモリ | 19,584 KB |
| 最終ジャッジ日時 | 2026-09-19 09:06:38 |
| 合計ジャッジ時間 | 1,339 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 19 SEP 2026 09:06:36 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.005
ソースコード
(defun main (&rest argv)
(declare (ignorable argv))
(let* ((n (read))
(az "abcdefghijklmnopqrstuvwxyz")
(i 0))
(dotimes (a 26)
(dotimes (b 26)
(dotimes (c 26)
(dotimes (d 26)
(when (= i (1- n)) (return))
(format t "a~c~c~c~ca~%"
(char az a)
(char az b)
(char az c)
(char az d))
(incf i)))))
(format t "an~%")))
(main)
Common Lisp