10、 kk+=temp_oper;
temp.push(kk);
for(int m=0;m<2;m++)
{
kk=num.top();
num.pop();
temp.push(kk);
}
11、 kk=temp.top();
temp.pop();
for(int m=0;m<2;m++)
{
kk+=temp.top();
temp.pop();
}
num.push(kk);
12、 // cout<13、se
{
operation.push(*(a+i));
}
}
}
}
}
suffix_expre=num.top();
cout<14、turn a+b;
case '-':return a-b;
case '*':return a*b;
case '/':
if(b==0)
{
cout<<"youwu"<15、
stacklast;
char end[200];
strcpy(end,bb.c_str());
// cout<16、h(aa);
}
else
{
double b=last.top();
last.pop();
double a=last.top();
last.pop();
double result=caclu(a,b,*(end+i));
if(result==-500000)
return -500000;
last.push(
17、result);
}
}
return last.top();
}
int main()
{
string begin;
while(cin>>begin)
{
begin='#'+begin+'#';
strcpy(nifix_expre,begin.c_str());
// cin>>nifix_expre;
prechange(nifix_expre);
// cout<18、['#']=out['#']=0;
in['(']=out[')']=1;
in[')']=out['(']=8;
in['*']=in['/']=5;
in['+']=in['-']=3;
out['*']=out['/']=4;
out['+']=out['-']=2;
change(nifix_expre);
if(cacluate(suffix_expre)!=-500000)
cout<