結果

問題 No.2736 About half
ユーザー Lisp_CoderLisp_Coder
提出日時 2024-04-23 01:31:46
言語 Common Lisp
(sbcl 2.3.8)
結果
WA  
実行時間 -
コード長 247 bytes
コンパイル時間 1,882 ms
コンパイル使用メモリ 34,328 KB
実行使用メモリ 29,888 KB
最終ジャッジ日時 2024-04-23 01:31:49
合計ジャッジ時間 2,386 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 9 ms
29,888 KB
testcase_01 AC 8 ms
25,640 KB
testcase_02 AC 9 ms
29,884 KB
testcase_03 AC 7 ms
25,768 KB
testcase_04 AC 7 ms
25,768 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 10 ms
25,768 KB
testcase_11 AC 9 ms
25,768 KB
testcase_12 AC 10 ms
25,768 KB
testcase_13 AC 8 ms
25,764 KB
testcase_14 AC 7 ms
25,768 KB
testcase_15 AC 8 ms
25,772 KB
testcase_16 WA -
testcase_17 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 23 APR 2024 01:31:45 AM):

; wrote /home/judge/data/code/Main.fasl
; compilation finished in 0:00:00.021

ソースコード

diff #

(defun main ()
  (let ((a (read)) (b (read)))
    ; 片方がもう片方の2倍以上ならば、"No"を出力. そうでなければ"Yes"を出力.
    (if (<= (* 2 a) b)
        (format t "~a~%" "No")
        (format t "~a~%" "Yes"))))

(main)
0