結果
問題 | No.1280 Beyond C |
ユーザー |
![]() |
提出日時 | 2022-12-02 16:56:21 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 190 ms / 2,000 ms |
コード長 | 307 bytes |
コンパイル時間 | 238 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 25,968 KB |
最終ジャッジ日時 | 2024-10-09 18:33:42 |
合計ジャッジ時間 | 3,482 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
from bisect import bisect_leftdef main():n, m, c = map(int, input().split())arr = list(map(int, input().split()))b = list(map(int, input().split()))b.sort()ans = 1 - sum([bisect_left(b, c // a + 1) for a in arr]) / (n * m)print(ans)if __name__ == "__main__":main()