0_0_21444570_2711.cpp:1:1: error: stray '##' in program
##include<bits/stdc++.h>
^
0_0_21444570_2711.cpp:1:3: error: 'include' does not name a type
##include<bits/stdc++.h>
^
0_0_21444570_2711.cpp:4:1: error: 'queue' does not name a type
queue<int> que;
^
0_0_21444570_2711.cpp:5:1: error: 'stack' does not name a type
stack<int> sta;
^
0_0_21444570_2711.cpp: In function 'int main()':
0_0_21444570_2711.cpp:9:5: error: 'cin' was not declared in this scope
cin>>n;
^
0_0_21444570_2711.cpp:13:9: error: 'string' was not declared in this scope
string str;
^
0_0_21444570_2711.cpp:14:17: error: 'str' was not declared in this scope
cin>>m>>str;
^
0_0_21444570_2711.cpp:15:9: error: 'que' was not declared in this scope
que.clear();
^
0_0_21444570_2711.cpp:16:9: error: 'sta' was not declared in this scope
sta.clear();
^
0_0_21444570_2711.cpp:19:20: error: expected ';' before 'stage'
string stage;
^
0_0_21444570_2711.cpp:20:18: error: 'stage' was not declared in this scope
cin>>stage;
^
0_0_21444570_2711.cpp:38:21: error: 'cout' was not declared in this scope
cout<<que.front()<<endl;
^
0_0_21444570_2711.cpp:38:40: error: 'endl' was not declared in this scope
cout<<que.front()<<endl;
^
0_0_21444570_2711.cpp:43:21: error: 'cout' was not declared in this scope
cout<<sta.top()<<endl;
^
0_0_21444570_2711.cpp:43:38: error: 'endl' was not declared in this scope
cout<<sta.top()<<endl;
^
|