/in/foo.c:9:8: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
}list[1<<10+1];
^~
/in/foo.c:13:1: error: unknown type name 'bool'
bool hash[1<<10+1];
^~~~
/in/foo.c:13:12: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
bool hash[1<<10+1];
^~
/in/foo.c: In function 'bfs':
/in/foo.c:17:15: error: 'false' undeclared (first use in this function)
memset(hash, false, sizeof(hash));
^~~~~
/in/foo.c:17:15: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:41:16: error: 'true' undeclared (first use in this function)
hash[st] = true;
^~~~