记录详情

Compile Error

/in/foo.cc: In function 'int InterSet(int*, int, int*, int, int*)':
/in/foo.cc:28:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(k1=-1 && k2==-1)
                     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:49:26: error: 'r' was not declared in this scope
  ne=InterSet(a,n,  b,g,  r);
                          ^

信息

递交者
类型
自测
题目
A10-4 集合的交集
语言
C++
递交时间
2024-12-02 17:03:27
评测时间
2024-12-02 17:03:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes