运行 ID: 31132

Main.cc: In function ‘int main()’:
Main.cc:27:7: error: ‘K’ was not declared in this scope
  cin>>K;
       ^