Mã chấm: 270868


Main.cc: In function ‘int main()’:
Main.cc:16:13: error: expected identifier before ‘:’ token
         goto:pass;
             ^
Main.cc:16:13: error: expected ‘;’ before ‘:’ token
Main.cc:16:13: error: expected primary-expression before ‘:’ token
Main.cc:20:25: error: expected identifier before ‘:’ token
                     goto:pass;
                         ^
Main.cc:20:25: error: expected ‘;’ before ‘:’ token
Main.cc:20:25: error: expected primary-expression before ‘:’ token
Main.cc:24:25: error: expected identifier before ‘:’ token
                     goto:pass;
                         ^
Main.cc:24:25: error: expected ‘;’ before ‘:’ token
Main.cc:24:25: error: expected primary-expression before ‘:’ token
Main.cc:27:13: warning: label ‘pass’ defined but not used [-Wunused-label]
             pass :
             ^~~~
Main.cc:8:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&T);
     ~~~~~^~~~~~~~~
Main.cc:11:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&a[i]);   
  ~~~~~^~~~~~~~~~~~