QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#275034#6865. foreverlasting and fried-chickenMaMengQiCompile Error//C++171.4kb2023-12-04 11:28:472023-12-04 11:28:47

详细

answer.code: In function ‘void solve()’:
answer.code:65:20: error: expected ‘;’ before ‘for’
   65 |         cout<<ans;a
      |                    ^
      |                    ;
   66 |         for(int i=1;i<=n;i++) for(int j=1;j<=n;j++) siuu[i][j]=0;
      |         ~~~         
answer.code:66:21: error: ‘i’ was not declared in this scope
   66 |         for(int i=1;i<=n;i++) for(int j=1;j<=n;j++) siuu[i][j]=0;
      |                     ^
answer.code:66:43: error: ‘j’ was not declared in this scope
   66 |         for(int i=1;i<=n;i++) for(int j=1;j<=n;j++) siuu[i][j]=0;
      |                                           ^