运行 ID: 3192

Main.cc:1:9: error: #include expects "FILENAME" or 
 #include
         ^
Main.cc:2:9: error: #include expects "FILENAME" or 
 #include
         ^
Main.cc:3:9: error: #include expects "FILENAME" or 
 #include
         ^
Main.cc: In function ‘int main()’:
Main.cc:9:22: error: ‘NULL’ was not declared in this scope
 srand((unsigned)time(NULL));
                      ^~~~
Main.cc:9:17: error: ‘time’ was not declared in this scope
 srand((unsigned)time(NULL));
                 ^~~~
Main.cc:9:1: error: ‘srand’ was not declared in this scope
 srand((unsigned)time(NULL));
 ^~~~~
Main.cc:9:1: note: suggested alternative: ‘signed’
 srand((unsigned)time(NULL));
 ^~~~~
 signed
Main.cc:10:10: error: expected ‘;’ at end of input
 for(i =0;i
          ^
Main.cc:10:10: error: expected primary-expression at end of input
Main.cc:10:10: error: expected ‘)’ at end of input
Main.cc:10:10: error: expected statement at end of input
Main.cc:10:1: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 for(i =0;i
 ^~~
cc1plus: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
Main.cc:8:7: warning: unused variable ‘j’ [-Wunused-variable]
 int i,j,a[N][M],b[M][N];
       ^
Main.cc:8:9: warning: unused variable ‘a’ [-Wunused-variable]
 int i,j,a[N][M],b[M][N];
         ^
Main.cc:8:17: warning: unused variable ‘b’ [-Wunused-variable]
 int i,j,a[N][M],b[M][N];
                 ^
Main.cc:10:10: error: expected ‘}’ at end of input
 for(i =0;i
          ^