結果
問題 |
No.2776 Bigger image
|
ユーザー |
|
提出日時 | 2024-06-09 20:38:12 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 48 ms / 2,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 1,664 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-12-30 21:44:39 |
合計ジャッジ時間 | 3,178 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 25 |
ソースコード
a, b = map(int, input().split()) h, w = map(int, input().split()) res1 = min((h * b)**2, (w * a)**2) res2 = min((h * a)**2, (w * b)**2) print('Same' if res1 == res2 else 'Non-rotating' if res1 > res2 else 'Rotating')