結果
問題 | No.932 解法破綻!高橋君 |
ユーザー |
![]() |
提出日時 | 2024-11-04 18:28:36 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 18 ms / 2,000 ms |
コード長 | 382 bytes |
コンパイル時間 | 241 ms |
コンパイル使用メモリ | 35,644 KB |
実行使用メモリ | 34,740 KB |
最終ジャッジ日時 | 2024-11-04 18:28:38 |
合計ジャッジ時間 | 1,862 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 04 NOV 2024 06:28:36 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.005
ソースコード
(defun main (&rest argv) (declare (ignorable argv)) (let* ((s (read-line)) (ans "Done!")) (loop for i from 0 below (length s) do (let ((c (char s i))) (cond ((char= c #\A) (incf i)) ((char= c #\,) nil) (t (setf ans "Failed...") (return))))) (format t "~a~%" ans))) (main)