记录详情

Compile Error

/in/foo.cc: In function 'void pt(int, int)':
/in/foo.cc:79:40: error: expected ')' before 'sum'
     if(a[j]==a[j+1]&&a[j]==(a[j+2]+1)  sum+=1;
                                        ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:92:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=4;i++)
  ^~~
/in/foo.cc:95:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   cout<<sum;
   ^~~~

信息

递交者
类型
递交
题目
玩游戏
语言
C++
递交时间
2018-01-14 21:17:39
评测时间
2018-01-14 21:17:39
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes