結果

問題 No.218 経験値1.5倍
ユーザー まんしmaNNshi
提出日時 2025-05-03 21:54:14
言語 Common Lisp
(sbcl 2.5.0)
結果
AC  
実行時間 9 ms / 2,000 ms
コード長 342 bytes
コンパイル時間 322 ms
コンパイル使用メモリ 24,192 KB
実行使用メモリ 19,712 KB
最終ジャッジ日時 2025-05-03 21:54:17
合計ジャッジ時間 2,193 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 03 MAY 2025 09:54:15 PM):

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

ソースコード

diff #

(defparameter a (parse-integer (read-line)))
(defparameter b (parse-integer (read-line)))
(defparameter c (parse-integer (read-line)))

;(print (ceiling (/ a b)))
;(print (ceiling (/ a c)))
;(print (ceiling (* (ceiling (/ a b)) 2/3)))
;(print (ceiling (/ a c)))
(format t (if (>= (* (ceiling (/ a b)) 2/3) (ceiling (/ a c)))  "YES~%" "NO~%"))
0