/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void output(int, int)':
/in/foo.cc:10:108: error: lvalue required as left operand of assignment
             if (((l >= type || r >= type) && abs(l - r) >= 2) || ((l >= type && r >= type) && abs(l - r) = 2)) {
                                                                                                            ^
/in/foo.cc:12:19: warning: left operand of comma operator has no effect [-Wunused-value]
                 l == 0, r == 0;
                 ~~^~~~
/in/foo.cc:12:27: warning: right operand of comma operator has no effect [-Wunused-value]
                 l == 0, r == 0;
                         ~~^~~~

信息

递交者
类型
自测
题目
P1217 乒乓球
语言
C++
递交时间
2024-01-13 19:00:44
评测时间
2024-01-13 19:00:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes