結果

問題 No.1110 好きな歌
ユーザー now4estnow4est
提出日時 2020-07-11 16:24:17
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 448 ms / 5,000 ms
コード長 111 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 32,628 KB
最終ジャッジ日時 2024-04-21 06:12:58
合計ジャッジ時間 12,728 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,624 KB
testcase_01 AC 34 ms
10,624 KB
testcase_02 AC 34 ms
10,624 KB
testcase_03 AC 32 ms
10,752 KB
testcase_04 AC 30 ms
10,624 KB
testcase_05 AC 31 ms
10,624 KB
testcase_06 AC 30 ms
10,624 KB
testcase_07 AC 29 ms
10,624 KB
testcase_08 AC 31 ms
10,624 KB
testcase_09 AC 28 ms
10,624 KB
testcase_10 AC 30 ms
10,624 KB
testcase_11 AC 30 ms
10,624 KB
testcase_12 AC 29 ms
10,624 KB
testcase_13 AC 29 ms
10,624 KB
testcase_14 AC 29 ms
10,752 KB
testcase_15 AC 29 ms
10,752 KB
testcase_16 AC 28 ms
10,752 KB
testcase_17 AC 29 ms
10,880 KB
testcase_18 AC 28 ms
10,752 KB
testcase_19 AC 30 ms
10,752 KB
testcase_20 AC 29 ms
10,752 KB
testcase_21 AC 30 ms
10,624 KB
testcase_22 AC 31 ms
10,752 KB
testcase_23 AC 31 ms
10,752 KB
testcase_24 AC 243 ms
23,680 KB
testcase_25 AC 302 ms
26,364 KB
testcase_26 AC 172 ms
18,776 KB
testcase_27 AC 298 ms
26,224 KB
testcase_28 AC 184 ms
19,768 KB
testcase_29 AC 365 ms
28,604 KB
testcase_30 AC 173 ms
19,640 KB
testcase_31 AC 116 ms
16,080 KB
testcase_32 AC 389 ms
30,716 KB
testcase_33 AC 179 ms
21,172 KB
testcase_34 AC 250 ms
24,608 KB
testcase_35 AC 368 ms
32,480 KB
testcase_36 AC 59 ms
13,132 KB
testcase_37 AC 127 ms
16,536 KB
testcase_38 AC 343 ms
28,428 KB
testcase_39 AC 266 ms
24,036 KB
testcase_40 AC 294 ms
28,040 KB
testcase_41 AC 48 ms
11,904 KB
testcase_42 AC 344 ms
30,436 KB
testcase_43 AC 346 ms
28,504 KB
testcase_44 AC 383 ms
32,416 KB
testcase_45 AC 424 ms
32,624 KB
testcase_46 AC 408 ms
32,624 KB
testcase_47 AC 448 ms
32,496 KB
testcase_48 AC 413 ms
32,620 KB
testcase_49 AC 357 ms
32,420 KB
testcase_50 AC 419 ms
32,500 KB
testcase_51 AC 399 ms
32,628 KB
testcase_52 AC 424 ms
32,624 KB
testcase_53 AC 440 ms
32,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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