| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2714 | 未知用户 | 与指定数字相同的数的个数 | C++ | Accepted | 100 | 0 MS | 252 KB | 200 | 2019-12-07 10:57:09 |
#include<iostream> int main(){ int a,b[100],c,d=0,i; scanf("%d",&a); for(i=0;i<a;i++) scanf("%d",&b[i]); scanf("%d",&c); for(i=0;i<a;i++) if(b[i]==c) d++; printf("%d",d); return 0; }