結果

問題 No.3042 拡大コピー
ユーザー kidodesu
提出日時 2025-02-28 22:01:25
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 491 bytes
コンパイル時間 260 ms
コンパイル使用メモリ 82,748 KB
実行使用メモリ 117,592 KB
最終ジャッジ日時 2025-03-01 07:38:31
合計ジャッジ時間 4,236 ms
ジャッジサーバーID
(参考情報)
judge2 / 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:
x, y = x*10**10, y*10**10
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:
x, y = x*10**10, y*10**10
if x < nx:
nx, ny = x, y
elif x == nx and y < ny:
nx, ny = x, y
print(nx / nz)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
0