結果
| 問題 | No.383 レーティング |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-04-07 22:45:22 |
| 言語 | Common Lisp (sbcl 2.6.3) |
| 結果 |
AC
|
| 実行時間 | 6 ms / 2,000 ms |
| コード長 | 243 bytes |
| 記録 | |
| コンパイル時間 | 830 ms |
| コンパイル使用メモリ | 26,368 KB |
| 実行使用メモリ | 19,712 KB |
| 最終ジャッジ日時 | 2026-07-08 13:33:49 |
| 合計ジャッジ時間 | 2,256 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 08 JUL 2026 01:33:46 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.021
ソースコード
(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)