結果
| 問題 | No.2776 Bigger image |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-15 14:01:59 |
| 言語 | Common Lisp (sbcl 2.6.1) |
| 結果 |
AC
|
| 実行時間 | 10 ms / 2,000 ms |
| コード長 | 391 bytes |
| 記録 | |
| コンパイル時間 | 101 ms |
| コンパイル使用メモリ | 34,300 KB |
| 実行使用メモリ | 30,772 KB |
| 最終ジャッジ日時 | 2026-03-06 03:16:54 |
| 合計ジャッジ時間 | 1,241 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 25 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 06 MAR 2026 03:16:53 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.005
ソースコード
(defun main ()
(let* ((A (read))
(B (read))
(H (read))
(W (read))
(nonrotate (min (* B B H H) (* A A W W)))
(rotate (min (* A A H H) (* B B W W))))
(cond ((> nonrotate rotate)
(format t "Non-rotating~%"))
((> rotate nonrotate)
(format t "Rotating~%"))
(t
(format t "Same~%")))))
(main)