/in/foo.c:3:1: error: unknown type name 'bool'
bool h[1001];
^~~~
/in/foo.c: In function 'main':
/in/foo.c:37:26: error: 'false' undeclared (first use in this function)
if(h[j]==false) {printf("%ld ",j);h[j]=true;break;}
^~~~~
/in/foo.c:37:26: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:37:56: error: 'true' undeclared (first use in this function)
if(h[j]==false) {printf("%ld ",j);h[j]=true;break;}
^~~~
/in/foo.c:43:17: error: unknown type name 'bool'
bool bs=false;
^~~~