結果

問題 No.2862 NOT FOUND 404
ユーザー Common Lisp
提出日時 2024-10-21 20:46:14
言語 Common Lisp
(sbcl 2.5.0)
結果
WA  
実行時間 -
コード長 249 bytes
コンパイル時間 1,886 ms
コンパイル使用メモリ 31,308 KB
実行使用メモリ 31,764 KB
最終ジャッジ日時 2024-10-21 20:46:17
合計ジャッジ時間 1,855 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 12
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 21 OCT 2024 08:46:14 PM):

; wrote /home/judge/data/code/Main.fasl
; compilation finished in 0:00:00.016

ソースコード

diff #

(defun main (&rest argv)
  (declare (ignorable argv))
  (let* ((n (read-line))
         (p "404")
         (s (read-line)))
    (declare (ignore n))
    (princ (if (search p s)
               "NotFound"
               "Found"))
    (terpri)))
(main)
0