| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 151867 | 张宇泽 | 18高度为k的树 | C++ | Compile Error | 0 MS | 0 KB | 259 | 2026-04-19 11:35:50 |
#include <bits/stdc++.h> using namespace std; int main (){ int n,x,s1=0; cin>>n; int a[10000]; 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<<l; return 0; }
Main.cc: In function 'int main()': Main.cc:16:9: error: 'l' was not declared in this scope cout<