結果
| 問題 |
No.1280 Beyond C
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-29 15:08:33 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 259 bytes |
| コンパイル時間 | 91 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 26,592 KB |
| 最終ジャッジ日時 | 2024-11-07 23:08:02 |
| 合計ジャッジ時間 | 11,102 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 22 |
ソースコード
import bisect
from fractions import Fraction
N, M, C = map(int, input().split())
A = list(map(int, input().split()))
B = list(map(int, input().split()))
B.sort()
p = 0
for a in A:
c = Fraction(C, a)
p += M-bisect.bisect_right(B, c) / (N*M)
print(p)