結果
問題 | No.2776 Bigger image |
ユーザー | あじゃじゃ |
提出日時 | 2024-06-07 22:05:45 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 49 ms / 2,000 ms |
コード長 | 205 bytes |
コンパイル時間 | 358 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 51,968 KB |
最終ジャッジ日時 | 2024-12-26 08:09:16 |
合計ジャッジ時間 | 2,678 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 25 |
ソースコード
A,B=map(int,input().split()) H,W=map(int,input().split()) ans1=A*B*min(H/A,W/B) ans2=A*B*min(W/A,H/B) if ans1>ans2: print("Non-rotating") elif ans2>ans1: print("Rotating") else: print("Same")