Main.cc: In function 'int main()':
Main.cc:4:16: error: two or more data types in declaration of 'd'
bool bool d[11]={0};
^
Main.cc:8:6: error: 'd' was not declared in this scope
d[j]=1;
^
Main.cc:12:6: error: 'd' was not declared in this scope
if(d[1]==0){
^