1070

#include<iostream>
using namespace std;
int main() {
 int n, t,s=0;
 cin >> n >> t;
 int a[20];
 for (int i = 0;i < n;i++) {
  cin >> a[i];
  if (a[i] < t)
   s++;
 }
 cout << s;
 return 0;
}

posted @ 2017-07-20 18:33  Isaacgy  阅读(159)  评论(0)    收藏  举报