摘要:
简单栈模拟View Code #include <iostream>#include <stack>#include <string>using namespace std;stack<string>bstack, fstack;string current;void visit(){ if (current != "") bstack.push(current); cin >> current; while (!fstack.empty()) fstack.pop(); cout << current 阅读全文
posted @ 2012-12-16 16:52
undefined2024
阅读(368)
评论(0)
推荐(0)

浙公网安备 33010602011771号