結果
問題 | No.892 タピオカ |
ユーザー |
![]() |
提出日時 | 2024-11-04 21:54:47 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 12 ms / 1,000 ms |
コード長 | 504 bytes |
コンパイル時間 | 216 ms |
コンパイル使用メモリ | 37,272 KB |
実行使用メモリ | 32,148 KB |
最終ジャッジ日時 | 2024-11-04 21:54:48 |
合計ジャッジ時間 | 1,057 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 04 NOV 2024 09:54:46 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.003
ソースコード
(declaim (optimize (speed 3) (safety 0) (debug 0))) (defun main (&rest argv) (declare (ignorable argv)) (let* ((a1 (read)) (b1 (read)) (a2 (read)) (b2 (read)) (a3 (read)) (b3 (read))) (declare (type (unsigned-byte 32) a1) (type (unsigned-byte 32) a2) (type (unsigned-byte 32) a3) (ignore b1) (ignore b2) (ignore b3)) (format t "~a~%" (if (evenp (+ a1 a2 a3)) ":-)" ":-(")))) (main)