結果
問題 | No.1280 Beyond C |
ユーザー |
![]() |
提出日時 | 2020-11-06 21:32:49 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 132 ms / 2,000 ms |
コード長 | 256 bytes |
コンパイル時間 | 823 ms |
コンパイル使用メモリ | 82,372 KB |
実行使用メモリ | 97,664 KB |
最終ジャッジ日時 | 2024-07-22 12:18:59 |
合計ジャッジ時間 | 2,746 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
n, m, c = map(int, input().split()) a = sorted(map(int, input().split())) b = sorted(map(int, input().split())) cnt = 0 i = 0 for y in reversed(b): while i < n and a[i] * y <= c: i += 1 cnt += i tot = n * m cnt = tot - cnt print(cnt / tot)