运行 ID: 44742

Main.cc: In function ‘int main()’:
Main.cc:9:13: error: expected ‘;’ before ‘<=’ token
    for(int k<=n;k++){
             ^~
Main.cc:9:13: error: expected primary-expression before ‘<=’ token
Main.cc:12:13: error: expected ‘;’ before string constant
      cout<