QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#295262#4826. Find the Partsucup-team1652#Compile Error//C++143.4kb2023-12-30 22:30:372023-12-30 22:30:37

Details

answer.code: In function ‘int main()’:
answer.code:52:24: error: missing template arguments before ‘mp’
   52 |                 vector mp(R, vector<__gnu_pbds::gp_hash_table<int, int>>(21));
      |                        ^~
answer.code:61:41: error: ‘mp’ was not declared in this scope; did you mean ‘mh’?
   61 |                                         mp[i][len][(mh[r] - 1ll * mh[l] * pw[len] % P + P) % P] = l;
      |                                         ^~
      |                                         mh
answer.code:81:45: error: ‘mp’ was not declared in this scope; did you mean ‘m’?
   81 |                                         if (mp[i][m].find(vh[r]) != mp[i][m].end()) {
      |                                             ^~
      |                                             m