0_0_21023734_16161.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_21023734_16161.cpp:2:11: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_21023734_16161.cpp: In function 'int main()':
0_0_21023734_16161.cpp:8:2: error: 'stack' was not declared in this scope
stack st;
^
0_0_21023734_16161.cpp:13:8: error: 'cin' was not declared in this scope
while(cin>>n)
^
0_0_21023734_16161.cpp:16:2: error: expected primary-expression before 'for'
for(i=1;i>b[i];
^
0_0_21023734_16161.cpp:16:2: error: expected ')' before 'for'
0_0_21023734_16161.cpp:18:2: error: expected primary-expression before 'while'
while(!st.empty())
^
0_0_21023734_16161.cpp:18:2: error: expected ')' before 'while'
0_0_21023734_16161.cpp:18:9: error: 'st' was not declared in this scope
while(!st.empty())
^
0_0_21023734_16161.cpp:23:7: error: 'in' was not declared in this scope
while(in)
^
0_0_21023734_16161.cpp:26:9: error: 'st' was not declared in this scope
while(!st.empty()&&st.top()==b[j])
^
0_0_21023734_16161.cpp: At global scope:
0_0_21023734_16161.cpp:32:2: error: expected unqualified-id before 'if'
if(st.empty())
^
0_0_21023734_16161.cpp:34:2: error: expected unqualified-id before 'else'
else
^
0_0_21023734_16161.cpp:36:2: error: expected declaration before '}' token
}
^
|