結果
| 問題 | No.341 沈黙の期間 |
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-11-07 12:32:31 |
| 言語 | Common Lisp (sbcl 2.6.7) |
| 結果 |
AC
不安定
|
| 実行時間 | 7 ms / 5,000 ms |
| + 21µs | |
| コード長 | 316 bytes |
| 記録 | |
| コンパイル時間 | 1,308 ms |
| コンパイル使用メモリ | 33,860 KB |
| 実行使用メモリ | 29,556 KB |
| 最終ジャッジ日時 | 2026-09-20 14:43:07 |
| 合計ジャッジ時間 | 2,789 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 20 SEP 2026 02:43:04 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.057
ソースコード
(defun main (&rest argv)
(declare (ignorable argv))
(let* ((s (read-line))
(len-s (length s)))
(loop for i from len-s downto 1 do
(when (search (make-string i :initial-element #\…) s)
(format t "~d~%" i)
(return-from main)))
(format t "0~%")))
(main)
Common Lisp