boj step 4 rework

This commit is contained in:
2024-02-19 13:23:50 +09:00
parent e39d555bd0
commit bad1f0723a
5 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
N = int(input())
L = list(map(int, input().split()))
v = int(input())
c = 0
for x in L:
if x == v:
c += 1
print(c)