0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-10 12:18:48 +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;
}