| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 326754 | 顾子丞 | 【C2-6】与指定数字相同的数的个数 | C++ | Accepted | 100 | 1 MS | 252 KB | 196 | 2025-06-14 14:46:19 |
#include<bits/stdc++.h> using namespace std; int main(){ double n,m,a,cnt=0; cin>>n>>m; for(int i=1;i<=n;i++){ cin>>a; if(a==m){ cnt++; } } cout<<cnt; return 0; }