QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#432618#8651. Table Tennisegypt_ioi2024_12#Compile Error//C++202.3kb2024-06-07 14:01:272024-06-07 14:01:27

Details

answer.code: In function ‘int main()’:
answer.code:26:33: error: expected ‘)’ before ‘if’
   26 |             for(int j=i+1;j<=n;j
      |                ~                ^
      |                                 )
   27 |                 if(m==0)break;
      |                 ~~               
answer.code:28:27: error: ‘j’ was not declared in this scope
   28 |                 if(arr[i][j]==-1){
      |                           ^
answer.code:62:12: error: ‘m’ was not declared in this scope
   62 |         if(m==0){
      |            ^
answer.code:64:28: error: ‘n’ was not declared in this scope
   64 |             for(int i=2;i<=n;i++){
      |                            ^
answer.code:66:27: error: ‘arr’ was not declared in this scope
   66 |                     cout<<arr[i][j];
      |                           ^~~
answer.code: At global scope:
answer.code:75:1: error: expected declaration before ‘}’ token
   75 | }
      | ^