记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:20: warning: unused variable 'maxn' [-Wunused-variable]
 long n,i,j,x,y,l,k,maxn;
                    ^~~~
/in/foo.cc: At global scope:
/in/foo.cc:38:1: error: 'maxn' does not name a type
 maxn=f[k];
 ^~~~
/in/foo.cc:39:1: error: 'cout' does not name a type
 cout<<k;//先输出起始点
 ^~~~
/in/foo.cc:40:1: error: 'k' does not name a type
 k=suf[k];
 ^
/in/foo.cc:41:1: error: expected unqualified-id before 'while'
 while(k!=0)//向后的链表
 ^~~~~
/in/foo.cc:46:1: error: 'cout' does not name a type
 cout<<endl;
 ^~~~
/in/foo.cc:47:1: error: 'cout' does not name a type
 cout<<maxn<<endl;
 ^~~~
/in/foo.cc:48:1: error: expected unqualified-id before 'return'
 return 0;
 ^~~~~~
/in/foo.cc:49:1: error: expected declaration before '}' token
 }
 ^

信息

递交者
类型
递交
题目
挖地雷
语言
C++
递交时间
2021-12-25 02:02:24
评测时间
2021-12-25 02:02:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes