运行 ID: 59729

Main.cc: In function ‘void Sort()’:
Main.cc:10:4: error: expected ‘;’ before ‘a’
    a[0]=a[i];
    ^
Main.cc:10:13: warning: statement has no effect [-Wunused-value]
    a[0]=a[i];
             ^
Main.cc:12:11: warning: statement has no effect [-Wunused-value]
     a[j-1]-a[j];
     ~~~~~~^~~~~
Main.cc:6:6: warning: unused variable ‘i’ [-Wunused-variable]
  int i,j;
      ^
Main.cc:17:1: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
 }
 ^