QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#117522#6631. Maximum Bitwise ORFantasy_BallCompile Error//C++141.9kb2023-07-01 15:18:392023-07-01 15:18:40

详细

answer.code: In function ‘int main()’:
answer.code:66:44: error: expected ‘;’ before ‘j’
   66 |                         for(i=0;i<30;i++){a
      |                                            ^
      |                                            ;
   67 |                                 j=lst[f][ls][i];
      |                                 ~           
answer.code:16:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   16 |         scanf("%d",&t);
      |         ~~~~~^~~~~~~~~
answer.code:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   18 |                 scanf("%d%d",&n,&q);
      |                 ~~~~~^~~~~~~~~~~~~~
answer.code:20:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   20 |                         scanf("%d",&a[i]);
      |                         ~~~~~^~~~~~~~~~~~
answer.code:37:40: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   37 |                 for(i=1;i<=q;i++) scanf("%d%d",&l[i],&r[i]),id[i]=i;
      |                                   ~~~~~^~~~~~~~~~~~~~~~~~~~