| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 151879 | 张宇泽 | 18陶陶摘苹果 | C++ | Wrong Answer | 1 MS | 272 KB | 257 | 2026-04-19 11:42:27 |
#include <bits/stdc++.h> using namespace std; int main (){ int n,x,s1=0; cin>>n; int a[11]; for(int i=1;i<=n;i++){ cin>>a[i]; } cin>>x; for(int i=1;i<=n;i++){ if(x==a[i]){ s1++; } } cout<<s1; return 0; }
------Input------
130 175 173 113 125 101 186 130 143 184 136
------Answer-----
6
------Your output-----
57