运行 ID: 3185

Main.cc:1:9: error: #include expects "FILENAME" or 
 #include
         ^
Main.cc: In function ‘int main()’:
Main.cc:7:1: error: ‘cin’ was not declared in this scope
 cin>>n;
 ^~~
Main.cc:7:1: note: suggested alternative: ‘main’
 cin>>n;
 ^~~
 main
Main.cc:8:9: error: ‘ia’ was not declared in this scope
 for(i=1;ia[i][j];
         ^~
Main.cc:8:9: note: suggested alternative: ‘i’
 for(i=1;ia[i][j];
         ^~
         i
Main.cc:9:1: error: expected primary-expression before ‘}’ token
 }
 ^
Main.cc:9:1: error: expected ‘)’ before ‘}’ token
Main.cc:9:1: error: expected primary-expression before ‘}’ token
Main.cc:5:5: warning: unused variable ‘a’ [-Wunused-variable]
 int a[7][7],max;
     ^
Main.cc:5:13: warning: unused variable ‘max’ [-Wunused-variable]
 int a[7][7],max;
             ^~~
Main.cc:6:11: warning: unused variable ‘k’ [-Wunused-variable]
 int n,i,j,k,l;
           ^
Main.cc:6:13: warning: unused variable ‘l’ [-Wunused-variable]
 int n,i,j,k,l;
             ^
Main.cc: At global scope:
Main.cc:10:1: error: expected declaration before ‘}’ token
 }
 ^