运行 ID: 3774

Main.cc: In function ‘int main()’:
Main.cc:11:25: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100]’ [-Wformat=]
         scanf("%c",&zimu);
                    ~~~~~^
Main.cc:14:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             if(zimu=='a'||zimu=='e'||zimu=='i'||zimu=='o'||zimu=='u') 
                      ^~~
Main.cc:14:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             if(zimu=='a'||zimu=='e'||zimu=='i'||zimu=='o'||zimu=='u') 
                                 ^~~
Main.cc:14:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             if(zimu=='a'||zimu=='e'||zimu=='i'||zimu=='o'||zimu=='u') 
                                            ^~~
Main.cc:14:55: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             if(zimu=='a'||zimu=='e'||zimu=='i'||zimu=='o'||zimu=='u') 
                                                       ^~~
Main.cc:14:66: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             if(zimu=='a'||zimu=='e'||zimu=='i'||zimu=='o'||zimu=='u') 
                                                                  ^~~
Main.cc:15:36: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘char*’ [-Wformat=]
                 printf("%c",zimu-32);
                             ~~~~~~~^
Main.cc:16:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu=='A'||zimu=='E'||zimu=='I'||zimu=='O'||zimu=='U') 
                           ^~~
Main.cc:16:38: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu=='A'||zimu=='E'||zimu=='I'||zimu=='O'||zimu=='U') 
                                      ^~~
Main.cc:16:49: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu=='A'||zimu=='E'||zimu=='I'||zimu=='O'||zimu=='U') 
                                                 ^~~
Main.cc:16:60: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu=='A'||zimu=='E'||zimu=='I'||zimu=='O'||zimu=='U') 
                                                            ^~~
Main.cc:16:71: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu=='A'||zimu=='E'||zimu=='I'||zimu=='O'||zimu=='U') 
                                                                       ^~~
Main.cc:17:33: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘char*’ [-Wformat=]
                 printf("%c",zimu);
                                 ^
Main.cc:18:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                           ^~~
Main.cc:18:38: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                      ^~~
Main.cc:18:49: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                 ^~~
Main.cc:18:60: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                            ^~~
Main.cc:18:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                     ~~~~~~~~~^~~~~~~~~~~
Main.cc:18:71: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                                       ^~~
Main.cc:18:82: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                                                  ^~~
Main.cc:18:74: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                                 ~~~~~~~~~^~~~~~~~~~~
Main.cc:18:93: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                                                             ^~~
Main.cc:18:104: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                                                                        ^~~
Main.cc:18:96: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                                                       ~~~~~~~~~^~~~~~~~~~~
Main.cc:18:115: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                                                                                   ^~~
Main.cc:18:126: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                                                                                              ^~~
Main.cc:18:118: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
             else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') 
                                                                                                             ~~~~~~~~~^~~~~~~~~~~
Main.cc:19:36: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘char*’ [-Wformat=]
                 printf("%c",zimu+32);
                             ~~~~~~~^
Main.cc:21:33: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘char*’ [-Wformat=]
                 printf("%c",zimu);            
                                 ^
Main.cc:6:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&T);
     ~~~~~^~~~~~~~~
Main.cc:11:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%c",&zimu);
         ~~~~~^~~~~~~~~~~~