結果

問題 No.1110 好きな歌
ユーザー 野田正太
提出日時 2021-01-09 15:40:14
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 249 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 20,224 KB
最終ジャッジ日時 2024-11-17 19:54:15
合計ジャッジ時間 15,881 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2 RE * 1
other AC * 3 RE * 48
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b=map(int,input().split())
if a==1:
    print(0)
else:
    l=[0]*a
    c=[0]*a
    for  i in range(a):
        l[i]=int(input())
    for i in l:
        for j in l:
            if i-j>=b:
                c[i]+=1
for i in range(a):
    print(c[i])
0