結果
問題 |
No.1280 Beyond C
|
ユーザー |
|
提出日時 | 2021-12-27 19:34:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 436 bytes |
コンパイル時間 | 107 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 22,084 KB |
最終ジャッジ日時 | 2024-10-01 06:16:04 |
合計ジャッジ時間 | 2,567 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 23 |
ソースコード
N,M,C = map(int,input().split()) a = list(map(int,input().split())) b = lsit(map(int,input().split())) a.sort() b.sort() def tansaku(x): if x * b[-1] < C: return N end = N-1 start = -1 while end - start > 1: mid = (start + end) // 2 if x * b[mid] >= C: end = mid else: start = mid return end ans = 0 for i in a: ans += N - tansaku(i) print(ans / (H * W))