Mã chấm: 271465


Main.cc: In function ‘int main()’:
Main.cc:8:12: error: expected initializer before ‘a’
     long n a[1000];
            ^
Main.cc:9:18: error: ‘n’ was not declared in this scope
     scanf("%ld",&n);
                  ^
Main.cc:9:18: note: suggested alternative: ‘yn’
     scanf("%ld",&n);
                  ^
                  yn
Main.cc:11:40: error: ‘a’ was not declared in this scope
     for(int i=0; i