結果
| 問題 |
No.272 NOT回路
|
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-10-08 19:32:08 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
AC
|
| 実行時間 | 11 ms / 1,000 ms |
| コード長 | 174 bytes |
| コンパイル時間 | 274 ms |
| コンパイル使用メモリ | 25,472 KB |
| 実行使用メモリ | 21,888 KB |
| 最終ジャッジ日時 | 2024-10-08 19:32:09 |
| 合計ジャッジ時間 | 1,090 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 11 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 08 OCT 2024 07:32:07 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.002
ソースコード
; 1 xor x
; (1 + x) % 2
; 1 - x
; zerop x など
(defun main ()
(princ
(logxor 1 (read)))
; (mod (1+ x) 2)
; (- 1 x)
; (if (zerop x) 1 0)
(terpri))
(main)
Common Lisp