Borderou de evaluare (job #3368504)

Utilizator IleaIlea Bogdan Ilea Data 14 octombrie 2026 21:55:27
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c:34:1: error: unknown type name 'bool' 34 | bool cmp(Point p1,Point p2){ | ^~~~ main.c:4:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? 3 | #include<math.h> +++ |+#include <stdbool.h> 4 | main.c: In function 'cmp': main.c:35:29: error: 'true' undeclared (first use in this function) 35 | if(p1.x>p2.x)return true; | ^~~~ main.c:35:29: note: 'true' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? main.c:35:29: note: each undeclared identifier is reported only once for each function it appears in main.c:37:16: error: 'false' undeclared (first use in this function) 37 | return false; | ^~~~~ main.c:37:16: note: 'false' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? main.c:38:1: warning: control reaches end of non-void function [-Wreturn-type] 38 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?