結果
| 問題 |
No.1511 A ? B Problem
|
| コンテスト | |
| ユーザー |
motoshira
|
| 提出日時 | 2021-05-21 22:10:51 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 335 bytes |
| コンパイル時間 | 1,630 ms |
| コンパイル使用メモリ | 36,680 KB |
| 実行使用メモリ | 30,016 KB |
| 最終ジャッジ日時 | 2024-10-10 08:53:59 |
| 合計ジャッジ時間 | 2,027 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 14 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 10 OCT 2024 08:53:56 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.049
ソースコード
(declaim (inline println))
(defun println (obj &optional (stream *standard-output*))
(let ((*read-default-float-format* 'double-float))
(prog1 obj
(princ obj stream)
(terpri stream))))
(defun main ()
(let ((a (read))
(b (read)))
(println (- (logior a b)
(logxor a b)))))
#-swank (main)
motoshira