結果

問題 No.1110 好きな歌
ユーザー now4estnow4est
提出日時 2020-07-11 11:33:11
言語 PyPy3
(7.3.13)
結果
TLE  
実行時間 -
コード長 180 bytes
コンパイル時間 544 ms
コンパイル使用メモリ 86,940 KB
実行使用メモリ 264,244 KB
最終ジャッジ日時 2023-08-02 22:26:48
合計ジャッジ時間 15,444 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,308 KB
testcase_01 AC 68 ms
71,144 KB
testcase_02 AC 69 ms
71,312 KB
testcase_03 AC 68 ms
71,216 KB
testcase_04 AC 69 ms
71,296 KB
testcase_05 AC 68 ms
71,180 KB
testcase_06 AC 67 ms
70,932 KB
testcase_07 AC 68 ms
71,068 KB
testcase_08 AC 70 ms
71,196 KB
testcase_09 AC 68 ms
71,204 KB
testcase_10 AC 66 ms
71,284 KB
testcase_11 AC 70 ms
70,936 KB
testcase_12 AC 68 ms
71,352 KB
testcase_13 AC 67 ms
71,400 KB
testcase_14 AC 76 ms
75,108 KB
testcase_15 AC 71 ms
71,440 KB
testcase_16 AC 78 ms
75,080 KB
testcase_17 AC 79 ms
75,192 KB
testcase_18 AC 70 ms
71,284 KB
testcase_19 AC 75 ms
75,332 KB
testcase_20 AC 80 ms
75,104 KB
testcase_21 AC 81 ms
75,248 KB
testcase_22 AC 78 ms
75,300 KB
testcase_23 AC 70 ms
71,140 KB
testcase_24 AC 4,731 ms
256,684 KB
testcase_25 TLE -
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
    print(len(B[:bisect.bisect_right(B, a-D)]))
0