QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#274768#7736. Red Black Treeucup-team1195Compile Error//C++203.6kb2023-12-03 22:13:152023-12-03 22:13:15

詳細信息

answer.code: In function ‘void dfs2(int)’:
answer.code:122:25: error: ‘s’ was not declared in this scope
  122 |                         s[j]+=b[j];
      |                         ^
answer.code:148:36: error: ‘s’ was not declared in this scope
  148 |                 sg[x].dp.push_back(s[0]);
      |                                    ^
answer.code:154:36: error: ‘s’ was not declared in this scope
  154 |                 sg[x].dp.push_back(s[0]+1);
      |                                    ^