Borderou de evaluare (job #1450013)

Utilizator electro09dan jurj electro09 Data 11 iunie 2015 10:25:19
Problema Inel Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:3:1: error: unknown type name ‘bool’ bool viz[10]; ^ user.c:10:1: error: unknown type name ‘bool’ bool prime(int x, int y) ^ user.c: In function ‘prime’: user.c:14:10: error: ‘true’ undeclared (first use in this function) return true; ^ user.c:14:10: note: each undeclared identifier is reported only once for each function it appears in user.c:17:10: error: ‘false’ undeclared (first use in this function) return false; ^ user.c: At top level: user.c:20:1: error: unknown type name ‘bool’ bool cond(int k) ^ user.c: In function ‘cond’: user.c:23:10: error: ‘false’ undeclared (first use in this function) return false; ^ user.c:24:9: error: ‘true’ undeclared (first use in this function) return true; ^ user.c: In function ‘citire’: user.c:7:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.c: In function ‘prime’: user.c:19:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘cond’: user.c:25:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?