| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 164878 | 张暄浩 | 18高度为k的树 | C++ | Compile Error | 0 MS | 0 KB | 481 | 2026-11-07 17:46:49 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int a[1000001]; int main(){ int n,m,s=0; cin>>n; for(int i=1;i<=n;i++){ cin>>a[i]; } cin>>m; for(int j=1;j<=n;j++){ if(a[j]==m) s++; cout<<s; //这题是扎啤 kskbl }
Main.cc: In function 'int main()': Main.cc:21:1: error: expected '}' at end of input } ^