QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#780633#9578. 爱上字典ZhangYiDeCompile Error//C++201013b2024-11-25 11:59:552024-11-25 11:59:56

Details

answer.code: In function ‘bool find(char*)’:
answer.code:35:15: error: ordered comparison of pointer with integer zero (‘int*’ and ‘int’)
   35 |         if(cnt>0)
      |            ~~~^~
answer.code:38:1: warning: control reaches end of non-void function [-Wreturn-type]
   38 | }
      | ^