結果

問題 No.46 はじめのn歩
ユーザー elderica
提出日時 2023-11-10 23:05:17
言語 Common Lisp
(sbcl 2.5.0)
結果
RE  
実行時間 -
コード長 209 bytes
コンパイル時間 70 ms
コンパイル使用メモリ 28,840 KB
実行使用メモリ 24,576 KB
最終ジャッジ日時 2024-09-26 02:09:18
合計ジャッジ時間 658 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 26 SEP 2024 02:09:17 AM):
; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Package UIOP does not exist.
;   
;       Line: 5, Column: 21, File-Position: 103
;   
;       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /home/judge/data/code/Main.lisp" {10011A09F3}>
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   caught 1 ERROR condition

; compilation aborted after 0:00:00.000

ソースコード

diff #

(require 'uiop)
(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