敲响警钟
查看原帖
敲响警钟
1068756
George_qwe楼主2024/10/4 16:37

应该没人和我犯一样的错吧
如果你用数组模拟

b=sta[top];
sta[top]=0;
a=sta[--top];

取出sta[top]后要把sta[top]清零
 ̄へ ̄

2024/10/4 16:37
加载中...