Problems Description
<p> <!--[if gte mso 9]>Normal07.8 磅02falsefalsefalseMicrosoftInternetExplorer4<![endif]--> </p> <p> <!--[if gte mso 9]><![endif]--><!--[if gte mso 10]> <![endif]--><span style="font-size:10.5pt;font-family:宋体;">输入</span><span style="font-size:10.5pt;font-family:"">100</span><span style="font-size:10.5pt;font-family:宋体;">items整数,将它们存入数组</span><span style="font-size:10.5pt;font-family:"">a</span><span style="font-size:10.5pt;font-family:宋体;">中,再输入一items整数</span><span style="font-size:10.5pt;font-family:"">x,</span><span style="font-size:10.5pt;font-family:宋体;">统计并输出</span><span style="font-size:10.5pt;font-family:"">x</span><span style="font-size:10.5pt;font-family:宋体;">在数组</span><span style="font-size:10.5pt;font-family:"">a</span><span style="font-size:10.5pt;font-family:宋体;">中出现的次数。</span> </p>
Input格式
Output格式
Sample
Sample Input 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
50
Sample Output 1
50在数组a中出现的次数为1
Submit Code
请先Login后Submit
🤖 AI 解题助手
OpenRouter
就绪