0_0_37437261_26292.cpp: In function 'int main()':
0_0_37437261_26292.cpp:18:2: error: 'map' was not declared in this scope
map<char, Node> mp;
^
0_0_37437261_26292.cpp:18:6: error: expected primary-expression before 'char'
map<char, Node> mp;
^
0_0_37437261_26292.cpp:26:3: error: 'mp' was not declared in this scope
mp[c] = node;
^
0_0_37437261_26292.cpp:31:7: error: expected primary-expression before 'char'
map<char, Node> mp_copy(mp);//初始化
^
0_0_37437261_26292.cpp:33:3: error: 'stack' was not declared in this scope
stack<char> st;
^
0_0_37437261_26292.cpp:33:9: error: expected primary-expression before 'char'
stack<char> st;
^
0_0_37437261_26292.cpp:44:5: error: 'st' was not declared in this scope
st.push(str[i]);
^
0_0_37437261_26292.cpp:47:17: error: 'st' was not declared in this scope
char temp = st.top(); //弹出栈中的字母
^
0_0_37437261_26292.cpp:57:18: error: 'mp_copy' was not declared in this scope
if(!isLegal(mp_copy[last], mp_copy[temp])){//不合法
^
0_0_37437261_26292.cpp:68:17: error: 'st' was not declared in this scope
char temp = st.top();
^
0_0_37437261_26292.cpp:72:18: error: 'mp_copy' was not declared in this scope
if(!isLegal(mp_copy[temp], mp[str[i]])){//不合法
^
0_0_37437261_26292.cpp:72:33: error: 'mp' was not declared in this scope
if(!isLegal(mp_copy[temp], mp[str[i]])){//不合法
^
|