結果
| 問題 | No.2776 Bigger image |
| コンテスト | |
| ユーザー |
northward
|
| 提出日時 | 2024-06-07 21:36:22 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 2,000 ms |
| コード長 | 213 bytes |
| 記録 | |
| コンパイル時間 | 552 ms |
| コンパイル使用メモリ | 20,952 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-06-01 04:17:24 |
| 合計ジャッジ時間 | 4,503 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 25 |
ソースコード
A, B = map(int, input().split())
H, W = map(int, input().split())
s1 = min(H * B, W * A)
s2 = min(H * A, W * B)
if s1 == s2:
print("Same")
elif s1 > s2:
print("Non-rotating")
else:
print("Rotating")
northward