Borderou de evaluare (job #1332424)

Utilizator sebastian123aldea sebastian sebastian123 Data 1 februarie 2015 23:07:55
Problema Gutui Status done
Runda teme_upb Compilator c | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.c: In function ‘afisare’: user.c:19:11: warning: assignment from incompatible pointer type [enabled by default] x = x->urm; ^ user.c: In function ‘inserare’: user.c:28:5: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] aux=(nod*)malloc(sizeof(nod)); ^ user.c:28:15: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] aux=(nod*)malloc(sizeof(nod)); ^ user.c:37:17: warning: assignment from incompatible pointer type [enabled by default] aux->urm=p; ^ user.c:44:14: warning: assignment from incompatible pointer type [enabled by default] p=p->urm; ^ user.c:47:15: warning: assignment from incompatible pointer type [enabled by default] p->urm=aux; ^ user.c: In function ‘sterge_prim’: user.c:55:7: warning: assignment from incompatible pointer type [enabled by default] *q=p->urm; ^ user.c: In function ‘afisare_matrice’: user.c:83:5: warning: ‘return’ with a value, in function returning void [enabled by default] return 0; ^ user.c: In function ‘main’: user.c:93:13: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] h=(int*)malloc(N*sizeof(int)); ^ user.c:87:61: warning: unused variable ‘index’ [-Wunused-variable] int N,H,U,i,j,x,totalg=0,max,M,*h,*g,**gutui,H_curent=0,index=0; ^ user.c:90:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&N); ^ user.c:91:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&H); ^ user.c:92:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&U); ^ user.c:97:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&h[i]); ^ user.c:98:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&g[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK10
20ms256kbOK10
30ms264kbIncorect0
40ms304kbIncorect0
50ms392kbIncorect0
64ms1068kbIncorect0
716msDepăşitMemory limit exceeded.0
820msDepăşitMemory limit exceeded.0
964msDepăşitMemory limit exceeded.0
1080msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?