Run-Time Check Failure #2 - Stack around the variable 'k' was corrupted.
变量周围的堆栈区被破坏了,一种可能的情况是检查下是否有足够预留空间