记录详情

Compile Error

/in/foo.cc: In function 'void SetUnion(std::vector<int>&, std::vector<int>&)':
/in/foo.cc:21:6: error: 'i' was not declared in this scope
  for(i=0; i<size2&&v2[i]!=0; i++)
      ^
/in/foo.cc:27:6: error: 'i' was not declared in this scope
  for(i=0; i<size1&&v1[i]!=0; i++)
      ^
/in/foo.cc:33:6: error: 'i' was not declared in this scope
  for(i=0; i<size1&&v1[i]!=0; i++)
      ^
/in/foo.cc:35:6: error: 'i' was not declared in this scope
  for(i=0; i<size2&&v2[i]!=0; i++)
      ^

信息

递交者
类型
递交
题目
A10-5 集合的并集
比赛
数据结构课堂练习9-16
语言
C++
递交时间
2019-09-16 11:13:51
评测时间
2019-09-16 11:13:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes