結果
| 問題 | No.2098 [Cherry Alpha *] Introduction |
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-11-02 17:08:43 |
| 言語 | Common Lisp (sbcl 2.6.7) |
| 結果 |
AC
不安定
|
| 実行時間 | 5 ms / 2,000 ms |
| + 825µs | |
| コード長 | 238 bytes |
| 記録 | |
| コンパイル時間 | 66 ms |
| コンパイル使用メモリ | 27,904 KB |
| 実行使用メモリ | 19,584 KB |
| 最終ジャッジ日時 | 2026-09-19 08:57:33 |
| 合計ジャッジ時間 | 1,370 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 19 SEP 2026 08:57:31 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.057
ソースコード
(defun main (&rest argv)
(declare (ignorable argv))
(let* ((s (read-line)))
(format t "~a~%"
(ecase (aref s 0)
(#\Z "1st")
(#\B "2nd")
(#\S "3rd")
(#\E "4th")
(#\D "Alpha")))))
(main)
Common Lisp