結果
| 問題 | No.1543 [Cherry 2nd Tune A] これがプログラミングなのね |
| コンテスト | |
| ユーザー |
Common Lisp
|
| 提出日時 | 2024-11-06 18:04:57 |
| 言語 | Common Lisp (sbcl 2.6.7) |
| 結果 |
AC
不安定
|
| 実行時間 | 6 ms / 2,000 ms |
| + 104µs | |
| コード長 | 320 bytes |
| 記録 | |
| コンパイル時間 | 1,131 ms |
| コンパイル使用メモリ | 27,264 KB |
| 実行使用メモリ | 19,712 KB |
| 最終ジャッジ日時 | 2026-09-19 19:19:42 |
| 合計ジャッジ時間 | 2,687 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 35 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 19 SEP 2026 07:19:39 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.025
ソースコード
(defun main (&rest argv)
(declare (ignorable argv))
(let* ((n (read))
(m (read))
(c (read-char)))
(format t "~a~%" (ecase c
(#\= (if (= n m) "YES" "NO"))
(#\< (if (< n m) "YES" "NO"))
(#\> (if (> n m) "YES" "NO"))))))
(main)
Common Lisp