結果
| 問題 | 
                            No.1882 Areas of Triangle
                             | 
                    
| ユーザー | 
                             shika_126
                         | 
                    
| 提出日時 | 2022-03-23 17:32:22 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 238 ms / 2,000 ms | 
| コード長 | 147 bytes | 
| コンパイル時間 | 154 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 21,808 KB | 
| 最終ジャッジ日時 | 2024-10-11 20:36:40 | 
| 合計ジャッジ時間 | 3,036 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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