結果
問題 |
No.2836 Comment Out
|
ユーザー |
|
提出日時 | 2024-08-09 23:32:47 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 175 ms / 2,000 ms |
コード長 | 684 bytes |
コンパイル時間 | 244 ms |
コンパイル使用メモリ | 35,400 KB |
実行使用メモリ | 39,340 KB |
最終ジャッジ日時 | 2024-08-09 23:32:54 |
合計ジャッジ時間 | 7,194 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
外部呼び出し有り |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 52 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 09 AUG 2024 11:32:47 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.006
ソースコード
#-swank (unless (member :child-sbcl *features*) (quit :recklessly-p t :unix-status (process-exit-code (run-program *runtime-pathname* `("--control-stack-size" "1024MB" "--noinform" "--disable-ldb" "--lose-on-corruption" "--end-runtime-options" "--eval" "(push :child-sbcl *features*)" "--script" ,(namestring *load-pathname*)) :output t :error t :input t)))) (defun solve-game () (let* ((n (read)) (a (loop for i from 1 to n collect (read)))) (if (or (eq 0 (apply 'min a)) (eq 1 (apply 'min a))) (format t "Yes~%") (format t "No~%")))) (solve-game)