結果
問題 | No.383 レーティング |
ユーザー |
![]() |
提出日時 | 2024-10-08 20:23:42 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 8 ms / 2,000 ms |
コード長 | 205 bytes |
コンパイル時間 | 393 ms |
コンパイル使用メモリ | 33,832 KB |
実行使用メモリ | 21,632 KB |
最終ジャッジ日時 | 2024-10-08 20:23:43 |
合計ジャッジ時間 | 1,248 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 08 OCT 2024 08:23:42 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.067
ソースコード
; a < b のとき '+' を出力する; その後 b - a を出力する(defun main ()(let* ((a (read))(b (read)))(when (< a b) (write-char #\+))(princ (- b a))(terpri)))(main)