QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#36110#885. Keep Calm And Carry OffMaMengQiCompile Error//C++142.2kb2022-06-24 13:00:052022-06-24 13:00:06

詳細信息

answer.code: In function ‘int main()’:
answer.code:105:16: error: ‘k7’ was not declared in this scope; did you mean ‘k6’?
  105 |         while (k7>=2&&!a5[k7-1])
      |                ^~
      |                k6
answer.code:107:17: error: ‘k7’ was not declared in this scope; did you mean ‘k6’?
  107 |         if (k5!=k7)
      |                 ^~
      |                 k6
answer.code:126:28: error: ‘k7’ was not declared in this scope; did you mean ‘k6’?
  126 |                 for (int i=k7-1;i>=0;--i)
      |                            ^~
      |                            k6
answer.code:127:25: error: ‘pritnf’ was not declared in this scope; did you mean ‘printf’?
  127 |                         pritnf("%d",a7[i]);
      |                         ^~~~~~
      |                         printf
answer.code:38:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   38 |         scanf("%s",s1);
      |         ~~~~~^~~~~~~~~
answer.code:39:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   39 |         scanf("%s",s2);
      |         ~~~~~^~~~~~~~~