結果

問題 No.46 はじめのn歩
ユーザー eldericaelderica
提出日時 2023-11-10 23:04:25
言語 Common Lisp
(sbcl 2.3.8)
結果
RE  
実行時間 -
コード長 193 bytes
コンパイル時間 1,054 ms
コンパイル使用メモリ 31,780 KB
実行使用メモリ 32,160 KB
最終ジャッジ日時 2023-11-10 23:04:28
合計ジャッジ時間 1,173 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 10 NOV 2023 02:04:25 PM):
; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Package UIOP does not exist.
;   
;       Line: 4, Column: 21, File-Position: 87
;   
;       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /home/judge/data/code/Main.lisp" {10010E6FF3}>
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   caught 1 ERROR condition

; compilation aborted after 0:00:00.007

ソースコード

diff #

(defun read-numbers ()
  (apply #'values
	 (mapcar #'parse-integer
		 (uiop:split-string (read-line)))))

(multiple-value-bind
      (a b) (read-numbers)
  (format t "~a~%" (ceiling (/ b a))))
0