結果
問題 |
No.166 マス埋めゲーム
|
ユーザー |
|
提出日時 | 2025-05-03 21:11:48 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 262 bytes |
コンパイル時間 | 2,332 ms |
コンパイル使用メモリ | 34,508 KB |
実行使用メモリ | 27,800 KB |
最終ジャッジ日時 | 2025-05-03 21:11:52 |
合計ジャッジ時間 | 3,854 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | AC * 7 WA * 13 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 03 MAY 2025 09:11:49 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.058
ソースコード
(defparameter temp (read-from-string (concatenate 'string "(" (read-line) ")"))) (defparameter H (nth 0 temp)) (defparameter W (nth 1 temp)) (defparameter N (nth 2 temp)) (defparameter K (nth 3 temp)) (format t (if (= (mod (* H W ) N) (- K 1)) "YES~%" "NO~%"))