結果
| 問題 | No.2776 Bigger image |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-07 21:39:36 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 2,000 ms |
| + 17µs | |
| コード長 | 286 bytes |
| 記録 | |
| コンパイル時間 | 61 ms |
| コンパイル使用メモリ | 81,880 KB |
| 実行使用メモリ | 56,120 KB |
| 最終ジャッジ日時 | 2026-10-08 05:14:45 |
| 合計ジャッジ時間 | 2,472 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 25 |
ソースコード
A,B=list(map(float,input().split()))
H,W=list(map(float,input().split()))
def f(x,y):
x1=H
y1=H/x*y
s1=x1*y1
y2=W
x2=W/y*x
s2=x2*y2
return min(s1,s2)
s1=f(A,B)
s2=f(B,A)
if s1>s2:print("Non-rotating")
elif s1<s2:print("Rotating")
else:print("Same")