运行 ID: 44242

Main.cc: In function ‘int main()’:
Main.cc:11:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j='a'&&ch[0][i]<='z')
     ^~
Main.cc:17:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
      tmp-=32;
      ^~~
Main.cc:17:6: error: ‘tmp’ was not declared in this scope
Main.cc:17:6: note: suggested alternative: ‘tm’
      tmp-=32;
      ^~~
      tm
Main.cc:23:10: warning: unused variable ‘tmp’ [-Wunused-variable]
      int tmp=(int)ch[0][i];
          ^~~
Main.cc:22:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(ch[0][i]>='A'&&ch[0][i]<='Z')
     ^~
Main.cc:24:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
      tmp+=32;
      ^~~
Main.cc:24:6: error: ‘tmp’ was not declared in this scope
Main.cc:24:6: note: suggested alternative: ‘tm’
      tmp+=32;
      ^~~
      tm