mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-27 12:12:01 +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;
|
||
|
}
|