QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#759087#9320. Find the Easiest ProblemZhangYiDeCompile Error//C++11844b2024-11-17 21:33:152024-11-17 21:33:15

Details

answer.code: In function ‘int main()’:
answer.code:20:27: error: ‘probem’ was not declared in this scope; did you mean ‘problem’?
   20 |                 if(s1[i]==probem[j]&&s2[i]=="accpeted")
      |                           ^~~~~~
      |                           problem
answer.code:20:43: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   20 |                 if(s1[i]==probem[j]&&s2[i]=="accpeted")
      |                                      ~~~~~^~~~~~~~~~~~
answer.code:36:19: error: ‘probem’ was not declared in this scope; did you mean ‘problem’?
   36 |             cout<<probem[j];
      |                   ^~~~~~
      |                   problem