結果
| 問題 |
No.388 階段 (1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-20 15:37:51 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
AC
|
| 実行時間 | 9 ms / 2,000 ms |
| コード長 | 192 bytes |
| コンパイル時間 | 1,854 ms |
| コンパイル使用メモリ | 32,732 KB |
| 実行使用メモリ | 25,636 KB |
| 最終ジャッジ日時 | 2025-03-20 15:37:54 |
| 合計ジャッジ時間 | 1,195 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 20 MAR 2025 03:37:51 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.149
ソースコード
(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))