#A. 与指定数字相同的数的个数

    Type: Default 1000ms 128MiB

与指定数字相同的数的个数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

描述

输出一个整数序列中与指定数字相同的数的个数。

输入

输入包含三行: 第一行为N,表示整数序列的长度(N <= 100); 第二行为N个整数,整数之间以一个空格分开; 第三行包含一个整数,为指定的整数m。

输出

输出为N个数中与m相同的数的个数。

样例输入

3
2 3 2
2

样例输出

2

专项练习之数组

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
10
Start at
2023-8-3 9:30
End at
2023-8-20 1:30
Duration
400 hour(s)
Host
Partic.
11