Mã chấm: 13599
Main.c:2:1: error: unknown type name ‘bool’; did you mean ‘_Bool’? bool check(int so) ^~~~ _Bool Main.c: In function ‘check’: Main.c:5:9: error: ‘true’ undeclared (first use in this function) return true; ^~~~ Main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in Main.c:6:14: error: ‘false’ undeclared (first use in this function); did you mean ‘fclose’? else return false; ^~~~~ fclose Main.c:7:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Main.c: In function ‘main’: Main.c:11:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^~~~~~~~~~~~~~ Main.c:15:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&l,&r); ^~~~~~~~~~~~~~~~~~~