Main.c:2:1: error: unknown type name ‘bool’; did you mean ‘_Bool’?
bool timUoc(int n){
^~~~
_Bool
Main.c: In function ‘timUoc’:
Main.c:5:4: error: ‘true’ undeclared (first use in this function)
true;
^~~~
Main.c:5:4: note: each undeclared identifier is reported only once for each function it appears in
Main.c:8:9: error: ‘false’ undeclared (first use in this function); did you mean ‘fclose’?
return false;
^~~~~
fclose
Main.c: In function ‘main’:
Main.c:13:9: warning: zero-length gnu_printf format string [-Wformat-zero-length]
printf("");
^~
Main.c: In function ‘timUoc’:
Main.c:9:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Main.c: In function ‘main’:
Main.c:14:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &L, &R);
^~~~~~~~~~~~~~~~~~~~~~