16 lines
266 B
C++
16 lines
266 B
C++
|
|
#include<iostream>
|
||
|
|
|
||
|
|
using namespace std;
|
||
|
|
|
||
|
|
int main() {
|
||
|
|
int n, t;
|
||
|
|
int count = 0;
|
||
|
|
cin >> n >> t;
|
||
|
|
for (int i = 1; i <= n; i++) {
|
||
|
|
int a;
|
||
|
|
cin >> a;
|
||
|
|
if (a < t) count++;
|
||
|
|
}
|
||
|
|
cout << count << endl;
|
||
|
|
return 0;
|
||
|
|
}
|