记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:23:16: warning: statement has no effect [-Wunused-value]
      {a[i][j+1]==0;
       ~~~~~~~~~^~~
/in/foo.cc:24:13: warning: statement has no effect [-Wunused-value]
    a[i][j-1]==0;
    ~~~~~~~~~^~~
/in/foo.cc:25:13: warning: statement has no effect [-Wunused-value]
    a[i+1][j]==0;
    ~~~~~~~~~^~~
/in/foo.cc:26:13: warning: statement has no effect [-Wunused-value]
    a[i-1][j]==0;
    ~~~~~~~~~^~~
/in/foo.cc:27:11: warning: statement has no effect [-Wunused-value]
    a[i][j]==0;
    ~~~~~~~^~~
/in/foo.cc:33:31: error: expected primary-expression before 'break'
   if(a[i][j]) cout<<"NO",k1++,break;
                               ^~~~~

信息

递交者
类型
递交
题目
4399小游戏之 十字架
语言
C++
递交时间
2018-08-15 21:08:02
评测时间
2018-08-15 21:08:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes