結果

問題 No.388 階段 (1)
コンテスト
ユーザー まんしmaNNshi
提出日時 2025-03-20 15:37:51
言語 Common Lisp
(sbcl 2.6.3)
コンパイル:
sbclc _filename_
実行:
sbcl --script Main.fasl
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 192 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 102 ms
コンパイル使用メモリ 27,136 KB
実行使用メモリ 19,584 KB
最終ジャッジ日時 2026-07-07 07:03:43
合計ジャッジ時間 1,453 ms
ジャッジサーバーID
(参考情報)
judge2_1 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 07 JUL 2026 07:03:40 AM):

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

ソースコード

diff #
raw source code

(defvar S)
(defvar F)
(defvar temp)

(setq temp (read-from-string (concatenate 'string "(" (read-line) ")")))
(setq S (nth 0 temp))
(setq F (nth 1 temp))


(format 't "~d~%" (+ (floor S F) 1))
0