結果
| 問題 |
No.427 テレビ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-24 19:49:02 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
AC
|
| 実行時間 | 10 ms / 2,000 ms |
| コード長 | 217 bytes |
| コンパイル時間 | 396 ms |
| コンパイル使用メモリ | 34,504 KB |
| 実行使用メモリ | 25,764 KB |
| 最終ジャッジ日時 | 2025-03-24 19:49:04 |
| 合計ジャッジ時間 | 1,444 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 24 MAR 2025 07:49:03 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.042
ソースコード
(defvar H)
(defvar W)
(defvar temp)
(setq temp (read-from-string (concatenate 'string "(" (read-line) ")")))
(setq H (nth 0 temp))
(setq W (nth 1 temp))
;(print H)
;(print W)
(format 't (if (> H W) "TATE~%" "YOKO~%"))