运行 ID: 44666

Main.cc:2:2: error: expected unqualified-id before ‘for’
  for(int i = 1;i <= n;i ++){
  ^~~
Main.cc:2:16: error: ‘i’ does not name a type
  for(int i = 1;i <= n;i ++){
                ^
Main.cc:2:23: error: ‘i’ does not name a type
  for(int i = 1;i <= n;i ++){
                       ^