0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-27 12:31:58 +00:00
OI-codes/AtCoder/ABC222/B/B.c

14 lines
207 B
C
Raw Normal View History

#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;
}