Main.cc: In function 'int main()':
Main.cc:5:2: error: expected ',' or ';' before 'int'
int n=0,b=1;
^
Main.cc:7:10: error: 'n' was not declared in this scope
while(a[n]!='\0')n++;
^
Main.cc:8:17: error: 'n' was not declared in this scope
for(int i=0;i<=n/2;i++){
^
Main.cc:10:4: error: 'b' was not declared in this scope
b=0;
^
Main.cc:14:5: error: 'b' was not declared in this scope
if(b==1)cout<<"Yes";
^