結果
| 問題 | No.1882 Areas of Triangle |
| ユーザー |
_matumo_
|
| 提出日時 | 2022-04-26 09:33:08 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 107 ms / 2,000 ms |
| + 348µs | |
| コード長 | 140 bytes |
| 記録 | |
| コンパイル時間 | 52 ms |
| コンパイル使用メモリ | 14,592 KB |
| 実行使用メモリ | 22,324 KB |
| 最終ジャッジ日時 | 2026-10-17 11:30:57 |
| 合計ジャッジ時間 | 3,084 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 26 |
ソースコード
N,K=map(int,input().split()) A=[0]+sorted(map(int,input().split())) K2=K*2 sm=0 i=N for a in A: while a*A[i]>=K2: i-=1 sm+=N-i print(sm)
_matumo_