Mã chấm: 340703


Main.cc:62:5: error: redefinition of ‘int main()’
   62 | int main() {
      |     ^~~~
Main.cc:27:5: note: ‘int main()’ previously defined here
   27 | int main() {
      |     ^~~~
Main.cc: In function ‘int main()’:
Main.cc:30:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   30 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
Main.cc:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   31 |     for(int i=0; i