結果
問題 |
No.1280 Beyond C
|
ユーザー |
![]() |
提出日時 | 2020-11-06 21:36:47 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 143 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 97,920 KB |
最終ジャッジ日時 | 2024-07-22 12:22:49 |
合計ジャッジ時間 | 2,651 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 WA * 1 |
ソースコード
import bisect N,M,C = map(int,input().split()); Error = pow(10,-9) A = list(map(int,input().split())) B = list(map(int,input().split())) B.sort() ALL = N*M cnt = 0 for i in range(N): need = C/A[i] + Error ok = M - bisect.bisect_right(B,need) cnt += ok #print(ok) ans = cnt/ALL print(ans)