mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-24 18:48:47 +00:00
14 lines
207 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;
|
||
|
}
|