結果
| 問題 |
No.383 レーティング
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-04-07 22:45:22 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
AC
|
| 実行時間 | 9 ms / 2,000 ms |
| コード長 | 243 bytes |
| コンパイル時間 | 1,712 ms |
| コンパイル使用メモリ | 32,476 KB |
| 実行使用メモリ | 27,672 KB |
| 最終ジャッジ日時 | 2025-04-07 22:45:25 |
| 合計ジャッジ時間 | 2,866 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 07 APR 2025 10:45:22 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.053
ソースコード
(defvar a)
(defvar b)
(defvar temp)
(setq temp (read-from-string (concatenate 'string "(" (read-line) ")" )))
(setq a (nth 0 temp))
(setq b (nth 1 temp))
(setq temp (- b a))
(format t (concatenate 'string (if (> temp 0 ) "+" ) "~d~%" ) temp)