結果
| 問題 |
No.2776 Bigger image
|
| コンテスト | |
| ユーザー |
あじゃじゃ
|
| 提出日時 | 2024-06-07 22:02:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 270 bytes |
| コンパイル時間 | 212 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-12-26 08:04:34 |
| 合計ジャッジ時間 | 2,762 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 21 WA * 4 |
ソースコード
A,B=map(int,input().split())
H,W=map(int,input().split())
if A==B or min(A,B)>max(H,W):
print("Same")
else:
ans1=0
ans2=0
ans1=A*B*min(H/A,W/B)
ans2=A*B*min(W/A,H/B)
if ans1>ans2:
print("Non-rotating")
else:
print("Rotating")
あじゃじゃ