0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-25 19:52:02 +00:00
OI-codes/AtCoder/ABC222/B/B.c

14 lines
207 B
C

#include <stdio.h>
int n, p, a, ans;
int main() {
scanf("%d%d", &n, &p);
for (int i = 0; i < n; i++) {
scanf("%d", &a);
ans += a < p;
}
printf("%d\n", ans);
return 0;
}