結果
| 問題 | No.2776 Bigger image |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-07 22:22:31 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 2,000 ms |
| + 802µs | |
| コード長 | 214 bytes |
| 記録 | |
| コンパイル時間 | 71 ms |
| コンパイル使用メモリ | 81,116 KB |
| 実行使用メモリ | 55,564 KB |
| 最終ジャッジ日時 | 2026-10-08 05:51:23 |
| 合計ジャッジ時間 | 2,579 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 25 |
ソースコード
a,b=map(int,input().split())
h,w=map(int,input().split())
non=min(a/w,b/h)
rot=min(b/w,a/h)
# print(non,rot)
if non==rot:
print("Same")
elif non>=rot:
print("Rotating")
else:
print("Non-rotating")