QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#835759#9926. Flipping Pathsucup-team359#Compile Error//C++143.8kb2024-12-28 14:32:452024-12-28 14:32:46

详细

answer.code: In function ‘void solve()’:
answer.code:13:12: error: missing template arguments before ‘a’
   13 |     vector a(n, vector <int>(m));
      |            ^
answer.code:18:13: error: ‘a’ was not declared in this scope
   18 |             a[i][j] = c == 'W';
      |             ^
answer.code:25:16: error: missing template arguments before ‘b’
   25 |         vector b(n, vector <int>(m));
      |                ^
answer.code:27:13: error: ‘b’ was not declared in this scope
   27 |             b[i][j] = a[j][i];
      |             ^
answer.code:27:23: error: ‘a’ was not declared in this scope
   27 |             b[i][j] = a[j][i];
      |                       ^
answer.code:29:9: error: ‘a’ was not declared in this scope
   29 |         a = b;
      |         ^
answer.code:29:13: error: ‘b’ was not declared in this scope
   29 |         a = b;
      |             ^
answer.code:126:15: error: ‘a’ was not declared in this scope
  126 |     if (solve(a)) {
      |               ^
answer.code:131:13: error: ‘a’ was not declared in this scope
  131 |             a[i][j] ^= 1;
      |             ^
answer.code:134:15: error: ‘a’ was not declared in this scope
  134 |     if (solve(a)) {
      |               ^