結果

問題 No.1110 好きな歌
ユーザー now4estnow4est
提出日時 2020-07-11 11:19:13
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 203 bytes
コンパイル時間 241 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 284,916 KB
最終ジャッジ日時 2024-04-20 22:01:32
合計ジャッジ時間 9,112 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
52,608 KB
testcase_01 AC 44 ms
52,096 KB
testcase_02 AC 43 ms
52,224 KB
testcase_03 AC 43 ms
51,840 KB
testcase_04 AC 44 ms
52,096 KB
testcase_05 AC 43 ms
51,712 KB
testcase_06 AC 44 ms
51,840 KB
testcase_07 AC 43 ms
51,840 KB
testcase_08 AC 44 ms
52,480 KB
testcase_09 AC 44 ms
51,840 KB
testcase_10 AC 42 ms
52,224 KB
testcase_11 AC 45 ms
52,224 KB
testcase_12 AC 43 ms
52,352 KB
testcase_13 AC 45 ms
51,840 KB
testcase_14 AC 53 ms
59,648 KB
testcase_15 AC 46 ms
52,992 KB
testcase_16 AC 51 ms
59,776 KB
testcase_17 AC 56 ms
63,104 KB
testcase_18 AC 44 ms
52,480 KB
testcase_19 AC 52 ms
59,008 KB
testcase_20 AC 56 ms
61,824 KB
testcase_21 AC 55 ms
60,416 KB
testcase_22 AC 58 ms
62,720 KB
testcase_23 AC 45 ms
52,608 KB
testcase_24 TLE -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
testcase_37 -- -
testcase_38 -- -
testcase_39 -- -
testcase_40 -- -
testcase_41 -- -
testcase_42 -- -
testcase_43 -- -
testcase_44 -- -
testcase_45 -- -
testcase_46 -- -
testcase_47 -- -
testcase_48 -- -
testcase_49 -- -
testcase_50 -- -
testcase_51 -- -
testcase_52 -- -
testcase_53 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect

_,D,*A = map(int,open(0).read().split())

B = sorted(A)

for a in A:
    if a <= D:
        print(0)
        continue
    C = B[:B.index(a)]
    print(len(C[:bisect.bisect_right(C, a-D)]))
0