結果

問題 No.1110 好きな歌
ユーザー now4estnow4est
提出日時 2020-07-11 11:35:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 255 ms / 5,000 ms
コード長 168 bytes
コンパイル時間 182 ms
コンパイル使用メモリ 82,472 KB
実行使用メモリ 118,708 KB
最終ジャッジ日時 2024-04-20 22:23:24
合計ジャッジ時間 8,878 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,700 KB
testcase_01 AC 35 ms
52,576 KB
testcase_02 AC 36 ms
52,008 KB
testcase_03 AC 34 ms
52,664 KB
testcase_04 AC 37 ms
52,580 KB
testcase_05 AC 37 ms
52,900 KB
testcase_06 AC 34 ms
52,648 KB
testcase_07 AC 36 ms
54,044 KB
testcase_08 AC 39 ms
52,004 KB
testcase_09 AC 36 ms
53,508 KB
testcase_10 AC 36 ms
52,940 KB
testcase_11 AC 36 ms
53,204 KB
testcase_12 AC 38 ms
52,532 KB
testcase_13 AC 36 ms
52,896 KB
testcase_14 AC 42 ms
59,160 KB
testcase_15 AC 39 ms
53,320 KB
testcase_16 AC 43 ms
60,368 KB
testcase_17 AC 45 ms
60,588 KB
testcase_18 AC 40 ms
52,140 KB
testcase_19 AC 43 ms
59,372 KB
testcase_20 AC 45 ms
61,212 KB
testcase_21 AC 45 ms
59,860 KB
testcase_22 AC 47 ms
59,424 KB
testcase_23 AC 42 ms
54,096 KB
testcase_24 AC 159 ms
101,252 KB
testcase_25 AC 179 ms
105,212 KB
testcase_26 AC 129 ms
91,128 KB
testcase_27 AC 183 ms
105,408 KB
testcase_28 AC 125 ms
92,960 KB
testcase_29 AC 206 ms
108,988 KB
testcase_30 AC 106 ms
93,212 KB
testcase_31 AC 97 ms
84,400 KB
testcase_32 AC 216 ms
113,260 KB
testcase_33 AC 104 ms
95,976 KB
testcase_34 AC 152 ms
101,872 KB
testcase_35 AC 163 ms
118,432 KB
testcase_36 AC 68 ms
78,296 KB
testcase_37 AC 111 ms
85,744 KB
testcase_38 AC 211 ms
108,988 KB
testcase_39 AC 174 ms
101,560 KB
testcase_40 AC 138 ms
109,356 KB
testcase_41 AC 76 ms
76,676 KB
testcase_42 AC 170 ms
112,832 KB
testcase_43 AC 199 ms
108,772 KB
testcase_44 AC 190 ms
117,596 KB
testcase_45 AC 235 ms
118,208 KB
testcase_46 AC 217 ms
118,276 KB
testcase_47 AC 245 ms
117,512 KB
testcase_48 AC 229 ms
117,624 KB
testcase_49 AC 156 ms
118,708 KB
testcase_50 AC 234 ms
117,532 KB
testcase_51 AC 197 ms
117,964 KB
testcase_52 AC 235 ms
117,788 KB
testcase_53 AC 255 ms
117,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect

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

B = sorted(A)

for a in A:
    if a <= D:
        print(0)
    else:
        print(bisect.bisect_right(B, a-D))
0