QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#275034#6865. foreverlasting and fried-chickenMaMengQiCompile Error//C++171.4kb2023-12-04 11:28:472023-12-04 11:28:47

Details

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;
      |                                           ^