25 lines
402 B
C++
25 lines
402 B
C++
#include <bits/stdc++.h>
|
|
#include <iostream>
|
|
using namespace std;
|
|
|
|
int main() {
|
|
int n, k, temp;
|
|
|
|
cin >> n >> k;
|
|
|
|
vector<int> gyorsabb;
|
|
|
|
for (int i = 0; i < n; i++) {
|
|
cin >> temp;
|
|
if (temp < k) {
|
|
gyorsabb.push_back(i+1);
|
|
}
|
|
}
|
|
|
|
cout<<gyorsabb.size()<<" ";
|
|
for (int i = 0; i < gyorsabb.size(); i++) {
|
|
cout<<gyorsabb[i]<<" ";
|
|
}
|
|
|
|
|
|
} |