QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#228987#6515. Path Planningucup-team960#Compile Error//C++141.2kb2023-10-28 14:43:522023-10-28 14:43:53

Details

answer.code: In function ‘void sol()’:
answer.code:20:12: error: missing template arguments before ‘bit’
   20 |     vector bit(n + 1, vector<ll>(m + 1));
      |            ^~~
answer.code: In lambda function:
answer.code:24:33: error: ‘bit’ was not declared in this scope
   24 |                                 bit[i][j] += d;
      |                                 ^~~
answer.code: In lambda function:
answer.code:32:40: error: ‘bit’ was not declared in this scope
   32 |                                 ret += bit[i][j];
      |                                        ^~~