QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#759087#9320. Find the Easiest ProblemZhangYiDeCompile Error//C++11844b2024-11-17 21:33:152024-11-17 21:33:15

詳細信息

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