結果
| 問題 | 
                            No.2776 Bigger image
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2024-06-07 22:22:31 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 61 ms / 2,000 ms | 
| コード長 | 214 bytes | 
| コンパイル時間 | 405 ms | 
| コンパイル使用メモリ | 82,176 KB | 
| 実行使用メモリ | 51,968 KB | 
| 最終ジャッジ日時 | 2024-12-26 08:31:07 | 
| 合計ジャッジ時間 | 3,221 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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")