运行 ID: 214

Main.cc:4:22: error: stray ‘\357’ in program
     scanf("%f %f %f",&a,&b,&c);
                      ^
Main.cc:4:23: error: stray ‘\274’ in program
     scanf("%f %f %f",&a,&b,&c);
                       ^
Main.cc:4:24: error: stray ‘\206’ in program
     scanf("%f %f %f",&a,&b,&c);
                        ^
Main.cc:4:27: error: stray ‘\357’ in program
     scanf("%f %f %f",&a,&b,&c);
                           ^
Main.cc:4:28: error: stray ‘\274’ in program
     scanf("%f %f %f",&a,&b,&c);
                            ^
Main.cc:4:29: error: stray ‘\206’ in program
     scanf("%f %f %f",&a,&b,&c);
                             ^
Main.cc:4:32: error: stray ‘\357’ in program
     scanf("%f %f %f",&a,&b,&c);
                                ^
Main.cc:4:33: error: stray ‘\274’ in program
     scanf("%f %f %f",&a,&b,&c);
                                 ^
Main.cc:4:34: error: stray ‘\206’ in program
     scanf("%f %f %f",&a,&b,&c);
                                  ^
Main.cc:5:14: error: stray ‘\357’ in program
     if(a%3==0&&b%3==0&&c%3==0){
              ^
Main.cc:5:15: error: stray ‘\274’ in program
     if(a%3==0&&b%3==0&&c%3==0){
               ^
Main.cc:5:16: error: stray ‘\206’ in program
     if(a%3==0&&b%3==0&&c%3==0){
                ^
Main.cc:5:17: error: stray ‘\357’ in program
     if(a%3==0&&b%3==0&&c%3==0){
                 ^
Main.cc:5:18: error: stray ‘\274’ in program
     if(a%3==0&&b%3==0&&c%3==0){
                  ^
Main.cc:5:19: error: stray ‘\206’ in program
     if(a%3==0&&b%3==0&&c%3==0){
                   ^
Main.cc:5:26: error: stray ‘\357’ in program
     if(a%3==0&&b%3==0&&c%3==0){
                          ^
Main.cc:5:27: error: stray ‘\274’ in program
     if(a%3==0&&b%3==0&&c%3==0){
                           ^
Main.cc:5:28: error: stray ‘\206’ in program
     if(a%3==0&&b%3==0&&c%3==0){
                            ^
Main.cc:5:29: error: stray ‘\357’ in program
     if(a%3==0&&b%3==0&&c%3==0){
                             ^
Main.cc:5:30: error: stray ‘\274’ in program
     if(a%3==0&&b%3==0&&c%3==0){
                              ^
Main.cc:5:31: error: stray ‘\206’ in program
     if(a%3==0&&b%3==0&&c%3==0){
                               ^
Main.cc: In function ‘int main()’:
Main.cc:4:36: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double’ [-Wformat=]
     scanf("%f %f %f",&a,&b,&c);
                                    ^
Main.cc:4:36: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double’ [-Wformat=]
Main.cc:4:36: warning: format ‘%f’ expects argument of type ‘float*’, but argument 4 has type ‘double’ [-Wformat=]
Main.cc:5:9: error: invalid operands of types ‘float’ and ‘int’ to binary ‘operator%’
     if(a%3==0&&b%3==0&&c%3==0){
        ~^~
Main.cc:5:20: error: expected ‘)’ before ‘b’
     if(a%3==0&&b%3==0&&c%3==0){
                    ^
Main.cc:10:30: error: invalid operands of types ‘float’ and ‘int’ to binary ‘operator%’
         a=a/3.0+b/3.0+c/3.0+a%3;
                             ~^~
Main.cc:11:28: error: invalid operands of types ‘float’ and ‘int’ to binary ‘operator%’
         b=(b+a)/3.0+c/3.0+b%3;
                           ~^~
Main.cc:12:28: error: invalid operands of types ‘float’ and ‘int’ to binary ‘operator%’
         c=(b+a+c)/3.0+a+b+c%3;
                           ~^~
Main.cc:15:4: error: expected ‘;’ before ‘return’
    return 0
    ^~~~~~
Main.cc:15:11: error: expected ‘}’ at end of input
    return 0
           ^
Main.cc:4:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%f %f %f",&a,&b,&c);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~