Run id: 164932

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:6:17: warning: for increment expression has no effect [-Wunused-value]
   for(int j=1;;j<=i){
                 ^
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){
      ^