結果
| 問題 | No.2736 About half |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-23 01:31:46 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 247 bytes |
| 記録 | |
| コンパイル時間 | 1,192 ms |
| コンパイル使用メモリ | 26,112 KB |
| 実行使用メモリ | 21,760 KB |
| 最終ジャッジ日時 | 2024-10-15 00:46:04 |
| 合計ジャッジ時間 | 2,588 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 WA * 7 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 15 OCT 2024 12:46:01 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.020
ソースコード
(defun main ()
(let ((a (read)) (b (read)))
; 片方がもう片方の2倍以上ならば、"No"を出力. そうでなければ"Yes"を出力.
(if (<= (* 2 a) b)
(format t "~a~%" "No")
(format t "~a~%" "Yes"))))
(main)