0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-14 04:18:48 +00:00

B - Failing Grade

https://atcoder.jp/contests/abc222/submissions/26451142
This commit is contained in:
Baoshuo Ren 2021-10-09 20:29:00 +08:00 committed by Baoshuo Ren
parent eeff800693
commit 88e10c9dba
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

13
AtCoder/ABC222/B/B.c Normal file
View 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;
}