結果
| 問題 | 
                            No.2776 Bigger image
                             | 
                    
| コンテスト | |
| ユーザー | 
                             rlangevin
                         | 
                    
| 提出日時 | 2024-06-07 21:32:20 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 41 ms / 2,000 ms | 
| コード長 | 239 bytes | 
| コンパイル時間 | 112 ms | 
| コンパイル使用メモリ | 12,288 KB | 
| 実行使用メモリ | 11,136 KB | 
| 最終ジャッジ日時 | 2024-12-26 07:10:00 | 
| 合計ジャッジ時間 | 2,483 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 4 | 
| other | AC * 25 | 
ソースコード
from decimal import *
A, B = map(Decimal, input().split())
H, W = map(Decimal, input().split())
now = min(H/A, W/B)
nex = min(H/B, W/A)
if now > nex:
    print("Non-rotating")
elif now == nex:
    print("Same")
else:
    print("Rotating")
            
            
            
        
            
rlangevin