运行 ID: 73461

Main.cc: In function ‘int main()’:
Main.cc:6:26: error: ‘n’ was not declared in this scope
      for (int i = 1; i <=n; i++) {
                          ^
Main.cc:10:26: error: ‘n’ was not declared in this scope
      for (int j = 1; j <=n; j++) {
                          ^
Main.cc:14:26: error: ‘n’ was not declared in this scope
      for (int k = 1; k <=n; k++) {
                          ^
Main.cc:16:17: warning: comparison of constant ‘4’ with boolean expression is always true [-Wbool-compare]
          if(1<=x<=4){
             ~~~~^~~
Main.cc:16:14: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
          if(1<=x<=4){
             ~^~~
Main.cc:21:26: error: ‘n’ was not declared in this scope
      for (int l = 1; l <=n; l++) {
                          ^
Main.cc:23:16: warning: comparison of constant ‘5’ with boolean expression is always true [-Wbool-compare]
          if(0