結果
問題 | No.2776 Bigger image |
ユーザー |
|
提出日時 | 2024-06-07 21:34:16 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 49 ms / 2,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 282 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-12-26 07:15:39 |
合計ジャッジ時間 | 2,495 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 25 |
ソースコード
A,B = map(int, input().split()) H,W = map(int, input().split()) pt1 = min(H/A,W/B) A2,B2 = B,A pt2 = min(H/A2,W/B2) if pt1 < pt2: print("Rotating") elif pt1 > pt2: print("Non-rotating") else: print("Same")