#10687. 与指定数字相同的数的个数
与指定数字相同的数的个数
Description
输出一个整数序列中与指定数字相同的数的个数。
## Input Format
输入包含三行:
第一行为N,表示整数序列的长度(N ≤ 100);
第二行为N个整数,整数之间以一个空格分开;
第三行包含一个整数,为指定的数字m。
## Output Format
输出为N个数中与m相同的数的个数。
```input1 3 2 3 2 2
```output1
2
输出一个整数序列中与指定数字相同的数的个数。
## Input Format
输入包含三行:
第一行为N,表示整数序列的长度(N ≤ 100);
第二行为N个整数,整数之间以一个空格分开;
第三行包含一个整数,为指定的数字m。
## Output Format
输出为N个数中与m相同的数的个数。
```input1 3 2 3 2 2
```output1
2
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.