結果

問題 No.2776 Bigger image
ユーザー manoto43
提出日時 2024-06-07 22:15:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 401 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 82,068 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-12-26 08:21:41
合計ジャッジ時間 2,506 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    A,B = map(int, input().split())
    H,W = map(int, input().split())

 
    if A < B:
        if H < W:
            ans = "Non-rotating"
        else:
            ans = "Rotating"
    else:
        if H < W:
            ans = "Rotating"
        else:
            ans = "Non-rotating"
    if W == H or A == B:
        ans = "Same"

    print(ans)



if __name__ == "__main__":
    main()
0