Borderou de evaluare (job #1332423)

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

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
10ms232kbKilled by signal 11(SIGSEGV).0
20ms228kbKilled by signal 11(SIGSEGV).0
30ms232kbKilled by signal 11(SIGSEGV).0
40ms236kbKilled by signal 11(SIGSEGV).0
50ms236kbKilled by signal 11(SIGSEGV).0
60ms240kbKilled by signal 11(SIGSEGV).0
74ms344kbKilled by signal 11(SIGSEGV).0
88ms464kbKilled by signal 11(SIGSEGV).0
932ms936kbKilled by signal 11(SIGSEGV).0
1068ms1404kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?