Main.cc: In function 'int main()': Main.cc:6:12: error: 'a' was not declared in this scope int maxa=a[0];//为0 ^