QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#744836#121. Bitaro's PartyHuangHanShengCompile Error//C++201.7kb2024-11-13 23:46:102024-11-13 23:46:11

Details

answer.code: In function ‘int main()’:
answer.code:75:49: error: request for member ‘count’ in ‘mp’, which is of non-class type ‘int [100001]’
   75 |                                         if (!mp.count(prv) || dp2[prv] > 0)
      |                                                 ^~~~~
answer.code:83:41: error: request for member ‘count’ in ‘mp’, which is of non-class type ‘int [100001]’
   83 |                                 if (!mp.count(ep)) {
      |                                         ^~~~~