結果
問題 |
No.1882 Areas of Triangle
|
ユーザー |
![]() |
提出日時 | 2022-06-22 14:57:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 212 ms / 2,000 ms |
コード長 | 172 bytes |
コンパイル時間 | 136 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 21,664 KB |
最終ジャッジ日時 | 2024-10-15 19:45:44 |
合計ジャッジ時間 | 2,843 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 5 |
other | AC * 24 |
ソースコード
n,k=map(int,input().split()) A=list(map(int,input().split())) ans=0 A.sort() import bisect for i in range(n): ans+=n-bisect.bisect_left(A,2*k/A[i]) print(ans)