結果
問題 | No.3042 拡大コピー |
ユーザー |
![]() |
提出日時 | 2025-02-28 22:08:06 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 534 bytes |
コンパイル時間 | 486 ms |
コンパイル使用メモリ | 82,120 KB |
実行使用メモリ | 100,316 KB |
最終ジャッジ日時 | 2025-03-01 07:38:40 |
合計ジャッジ時間 | 3,535 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 24 |
ソースコード
n = int(input())X = []for _ in range(n):x, y = map(str, input().split())if not "." in x:X.append(int(x) * 10**10)else:x += "0" * 20ind = x.index(".")x = int(x[:ind] + x[ind+1:ind+11])X.append(x)Z = []for _ in range(n):x, y = map(str, input().split())if not "." in x:Z.append(int(x) * 10**10)else:x += "0" * 20ind = x.index(".")x = int(x[:ind] + x[ind+1:ind+11])Z.append(x)x, z = min(X), min(Z)print(z / x)