运行 ID: 29604

Main.cc: In function ‘int main()’:
Main.cc:10:8: error: ‘k’ was not declared in this scope
   cin>>k;
        ^