| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 60915 | 余慕涵 | 18高度为k的树 | C++ | Accepted | 3 MS | 312 KB | 327 | 2023-11-24 20:43:36 |
#include <iostream> #include <cstdio> #include <cmath> using namespace std; int main(){ int r,l=0,o,m=0,n; cin>>o; int a[o]; for(r=0;r<o;r++) cin>>a[r]; cin>>n; for(r=0;r<o;r++){ if(a[r]==n) l++;} cout<<l; return 0; }