結果
| 問題 | No.1882 Areas of Triangle |
| ユーザー |
shika_126
|
| 提出日時 | 2022-03-23 17:32:22 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 212 ms / 2,000 ms |
| コード長 | 147 bytes |
| 記録 | |
| コンパイル時間 | 335 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 25,252 KB |
| 最終ジャッジ日時 | 2026-04-28 05:47:06 |
| 合計ジャッジ時間 | 4,974 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 24 |
ソースコード
import bisect
n,k = map(int,input().split())
l = sorted(map(int,input().split()))
s = 0
for i in l:
s += n-bisect.bisect_left(l,2*k/i)
print(s)
shika_126