結果
問題 |
No.1110 好きな歌
|
ユーザー |
|
提出日時 | 2022-01-21 12:52:08 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 871 ms / 5,000 ms |
コード長 | 147 bytes |
コンパイル時間 | 86 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 21,152 KB |
最終ジャッジ日時 | 2024-11-25 07:25:33 |
合計ジャッジ時間 | 22,501 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 51 |
ソースコード
n,d=map(int,input().split()) a=[int(input()) for _ in range(n)] b=sorted(a) import bisect for i in a: x=bisect.bisect_right(b,i-d) print(x)