Borderou de evaluare (job #34814)

Utilizator avatar edycristea cristea eduard edycristea IP ascuns
Problemă Mulţimi (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 7 dec. 2013 16:33:54 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:5:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘comune’ user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat] user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat] user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘long int *’ [-Wformat] user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 6 has type ‘long int *’ [-Wformat] user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 7 has type ‘long int *’ [-Wformat] user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 8 has type ‘long int *’ [-Wformat] user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 9 has type ‘long int *’ [-Wformat] user.c:7:5: warning: format ‘%d’ expects a matching ‘int *’ argument [-Wformat] user.c:19:9: error: unknown type name ‘nr’ user.c:21:17: warning: passing argument 1 of ‘printf’ makes pointer from integer without a cast [enabled by default] /usr/include/i386-linux-gnu/bits/stdio2.h:103:1: note: expected ‘const char * __restrict__’ but argument is of type ‘long int’ user.c:21:17: warning: format not a string literal and no format arguments [-Wformat-security] user.c:23:24: error: ‘nr’ undeclared (first use in this function) user.c:23:24: note: each undeclared identifier is reported only once for each function it appears in user.c:23:27: error: expected ‘)’ before ‘comnune’ user.c:26:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat] user.c:19:12: warning: unused variable ‘comune’ [-Wunused-variable] user.c:7:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]