记录详情

Compile Error

/in/foo.cc: In function 'void p(SeqList&, SeqList&)':
/in/foo.cc:26:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if (obj1.a[i] = obj2.a[j])
                              ^
/in/foo.cc:19:7: warning: unused variable 'n' [-Wunused-variable]
   int n = obj1.n;
       ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:47:15: error: expected '}' at end of input
  p(c[0], c[1]);
               ^

信息

递交者
类型
自测
题目
P1015 OO3-2 无序顺序表类的集合运算
语言
C++
递交时间
2023-05-14 20:07:13
评测时间
2023-05-14 20:07:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes