結果
| 問題 | No.1280 Beyond C |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-06 22:28:48 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 103 ms / 2,000 ms |
| コード長 | 252 bytes |
| 記録 | |
| コンパイル時間 | 324 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 110,848 KB |
| 最終ジャッジ日時 | 2026-04-03 09:11:55 |
| 合計ジャッジ時間 | 2,231 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
import bisect
N,M,C = map(int,input().split())
a = list(map(int,input().split()))
b = list(map(int,input().split()))
b.sort()
res = 0
for i in range(N):
limit = C//a[i]
idx = bisect.bisect_right(b,limit)
res += idx
print((N*M-res)/(N*M))