結果
問題 | No.780 オフ会 |
ユーザー |
![]() |
提出日時 | 2024-10-30 22:13:50 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 14 ms / 2,000 ms |
コード長 | 177 bytes |
コンパイル時間 | 297 ms |
コンパイル使用メモリ | 38,992 KB |
実行使用メモリ | 31,892 KB |
最終ジャッジ日時 | 2024-10-30 22:13:52 |
合計ジャッジ時間 | 1,876 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 30 OCT 2024 10:13:50 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.004
ソースコード
(defun main (&rest argv)(declare (ignore argv))(let* ((a (read))(b (read)))(format t "~a~%~d~%" (if (>= (- b a) 1) "YES" "NO") (abs (- (1+ a) b)))))(main)