记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:35:11: error: expected ')' before ';' token
    if(x=x1;y=y1) break;
           ^
/in/foo.cc:35:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/in/foo.cc:35:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(x=x1;y=y1) break;
    ^~
/in/foo.cc:35:12: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(x=x1;y=y1) break;
            ^
/in/foo.cc:35:16: error: expected ';' before ')' token
    if(x=x1;y=y1) break;
                ^

信息

递交者
类型
递交
题目
P1128 花生采摘
语言
C++
递交时间
2020-11-12 22:08:07
评测时间
2020-11-12 22:08:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes