結果
| 問題 |
No.1110 好きな歌
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-11 10:33:46 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 186 bytes |
| コンパイル時間 | 351 ms |
| コンパイル使用メモリ | 81,920 KB |
| 実行使用メモリ | 219,100 KB |
| 最終ジャッジ日時 | 2024-10-12 18:54:53 |
| 合計ジャッジ時間 | 10,887 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 TLE * 1 -- * 29 |
ソースコード
_,D,*A = map(int,open(0).read().split())
A_sorted = sorted(A)
for a in A:
if a <= D:
print(0)
continue
print(len([x for x in A_sorted if x < a and a - x >= D]))