mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-09 23:38:47 +00:00
B - Failing Grade
https://atcoder.jp/contests/abc222/submissions/26451142
This commit is contained in:
parent
eeff800693
commit
88e10c9dba
13
AtCoder/ABC222/B/B.c
Normal file
13
AtCoder/ABC222/B/B.c
Normal file
@ -0,0 +1,13 @@
|
||||
#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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user