记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:13: error: expected ')' before ';' token
   if(a[i]==0;)break;
             ^
/in/foo.cc:9:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(a[i]==0;)break;
   ^~
/in/foo.cc:9:14: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(a[i]==0;)break;
              ^
/in/foo.cc:9:14: error: expected primary-expression before ')' token
/in/foo.cc:11:12: error: 'nan' was not declared in this scope
  int sum=0;nan=2;
            ^~~

信息

递交者
类型
递交
题目
跳一跳
语言
C++
递交时间
2019-01-06 17:40:55
评测时间
2019-01-06 17:40:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes