运行 ID: 6150

Main.cc: In function ‘int main()’:
Main.cc:5:21: warning: left operand of comma operator has no effect [-Wunused-value]
     int a[11]=(28.9,45.6,35,27.8,56,32.7,78,86.2,43,65);
                     ^~~~
Main.cc:5:26: warning: right operand of comma operator has no effect [-Wunused-value]
     int a[11]=(28.9,45.6,35,27.8,56,32.7,78,86.2,43,65);
                          ^~
Main.cc:5:29: warning: right operand of comma operator has no effect [-Wunused-value]
     int a[11]=(28.9,45.6,35,27.8,56,32.7,78,86.2,43,65);
                             ^~~~
Main.cc:5:34: warning: right operand of comma operator has no effect [-Wunused-value]
     int a[11]=(28.9,45.6,35,27.8,56,32.7,78,86.2,43,65);
                                  ^~
Main.cc:5:37: warning: right operand of comma operator has no effect [-Wunused-value]
     int a[11]=(28.9,45.6,35,27.8,56,32.7,78,86.2,43,65);
                                     ^~~~
Main.cc:5:42: warning: right operand of comma operator has no effect [-Wunused-value]
     int a[11]=(28.9,45.6,35,27.8,56,32.7,78,86.2,43,65);
                                          ^~
Main.cc:5:45: warning: right operand of comma operator has no effect [-Wunused-value]
     int a[11]=(28.9,45.6,35,27.8,56,32.7,78,86.2,43,65);
                                             ^~~~
Main.cc:5:50: warning: right operand of comma operator has no effect [-Wunused-value]
     int a[11]=(28.9,45.6,35,27.8,56,32.7,78,86.2,43,65);
                                                  ^~
Main.cc:5:53: warning: right operand of comma operator has no effect [-Wunused-value]
     int a[11]=(28.9,45.6,35,27.8,56,32.7,78,86.2,43,65);
                                                     ^~
Main.cc:5:52: error: array must be initialized with a brace-enclosed initializer
     int a[11]=(28.9,45.6,35,27.8,56,32.7,78,86.2,43,65);
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~