You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#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;
|
|
} |