結果

問題 No.3042 拡大コピー
ユーザー kidodesu
提出日時 2025-02-28 21:59:34
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 431 bytes
コンパイル時間 190 ms
コンパイル使用メモリ 82,764 KB
実行使用メモリ 117,072 KB
最終ジャッジ日時 2025-03-01 07:38:27
合計ジャッジ時間 4,250 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other WA * 24
権限があれば一括ダウンロードができます

ソースコード

diff #
プレゼンテーションモードにする

n = int(input())
XY = [tuple(map(float, input().split())) for _ in range(n)]
ZW = [tuple(map(float, input().split())) for _ in range(n)]
inf = float("INF")
nx, ny = inf, inf
for x, y in XY:
if x < nx:
nx, ny = x, y
elif x == nx and y < ny:
nx, ny = x, y
nz, nw = nx, ny
nx, ny = inf, inf
for x, y in ZW:
if x < nx:
nx, ny = x, y
elif x == nx and y < ny:
nx, ny = x, y
print(nx / nz)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
0