Prateek sir and coding

hey whats wrong in my code ?? its running on other compiler but showing error on this

#include
#include
using namespace std;
int main () {
stack s;
int q;
cin>>q;

while(q--){
	int queryType;
	cin>>queryType;
	if(queryType==1){
		if(s.empty()){
			cout<<"No code";
		}
		else{
			cout<<s.top();
			s.pop();
		}
        cout<<endl;
	}
	else{
		int price;
        cin>>price;
		s.push(price);
	}
}
return 0;

}

Save your code on ide.codingblocks.com and then share its link.

hey please find the saved code https://ide.codingblocks.com/s/241625

https://ide.codingblocks.com/s/241632 Check now.