結果
| 問題 | No.1110 好きな歌 |
| コンテスト | |
| ユーザー |
trineutron
|
| 提出日時 | 2019-10-22 12:33:03 |
| 言語 | C++17(clang) (17.0.6 + boost 1.89.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 356 bytes |
| 記録 | |
| コンパイル時間 | 2,114 ms |
| コンパイル使用メモリ | 163,908 KB |
| 実行使用メモリ | 13,640 KB |
| 最終ジャッジ日時 | 2024-11-30 15:29:04 |
| 合計ジャッジ時間 | 326,444 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | TLE * 3 |
| other | TLE * 51 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int n, d;
cin >> n >> d;
int a[200000];
for (int i = 0; i < n; i++) cin >> a[i];
for (int x : a) {
int ans = 0;
for (int y : a) {
if (x - y >= d) ans++;
}
cout << ans << "\n";
}
}
trineutron