結果
| 問題 |
No.1280 Beyond C
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-14 01:48:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 163 ms / 2,000 ms |
| コード長 | 253 bytes |
| コンパイル時間 | 280 ms |
| コンパイル使用メモリ | 82,404 KB |
| 実行使用メモリ | 95,812 KB |
| 最終ジャッジ日時 | 2024-07-22 22:35:21 |
| 合計ジャッジ時間 | 3,273 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
import sys
input = sys.stdin.readline
from bisect import *
N, M, C = map(int, input().split())
a = list(map(int, input().split()))
b = list(map(int, input().split()))
a.sort()
b.sort()
c = 0
for ai in a:
c += M-bisect_right(b, C//ai)
print(c/N/M)