結果

問題 No.1110 好きな歌
ユーザー now4est
提出日時 2020-07-11 11:46:45
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 443 ms / 5,000 ms
コード長 120 bytes
コンパイル時間 184 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 32,756 KB
最終ジャッジ日時 2024-10-12 21:07:26
合計ジャッジ時間 13,005 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 51
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect as b
_,D,*A=map(int,open(0).read().split())
B=sorted(A)
print(*[b.bisect_right(B,a-D)for a in A],sep='\n')
0