0_0_25634224_2802.cpp: In function 'bool check()':
0_0_25634224_2802.cpp:8:20: error: 'n' was not declared in this scope
for(int i=0; i<n-1; i++)
^
0_0_25634224_2802.cpp:9:13: error: 's' was not declared in this scope
if((s[i]=='+'||s[i]=='*')&&(s[i+1]=='+'||s[i+1]=='*'))
^
0_0_25634224_2802.cpp:11:20: error: 'n' was not declared in this scope
for(int i=1; i<n-1; i++)
^
0_0_25634224_2802.cpp:12:12: error: 's' was not declared in this scope
if(s[i]=='0'&&!(s[i-1]>='0'&&s[i-1]<='9')&&(s[i+1]>='0'&&s[i+1]<='9'))
^
0_0_25634224_2802.cpp:14:8: error: 's' was not declared in this scope
if(s[0]=='0'&&(s[1]>='0'&&s[1]<='9'))return 0;
^
0_0_25634224_2802.cpp:15:8: error: 's' was not declared in this scope
if(s[0]=='+'||s[0]=='*'||s[n-1]=='+'||s[n-1]=='*')
^
0_0_25634224_2802.cpp:15:32: error: 'n' was not declared in this scope
if(s[0]=='+'||s[0]=='*'||s[n-1]=='+'||s[n-1]=='*')
^
|