Borderou de evaluare (job #1289973)

Utilizator sebastian123aldea sebastian sebastian123 Data 10 decembrie 2014 17:38:31
Problema Gutui Status done
Runda teme_upb Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c:44:1: warning: return type defaults to ‘int’ [enabled by default] sortare_gutui(gutui1 *gutui,int N) ^ user.c: In function ‘main’: user.c:70:5: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] gutui=(gutui1*)malloc(N*sizeof(int)); ^ user.c:70:20: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] gutui=(gutui1*)malloc(N*sizeof(int)); ^ user.c:63:38: warning: unused variable ‘g’ [-Wunused-variable] int N,H,U,i,j,x,totalg=0,max,*h,*g,*culese,index=0; ^ user.c:63:35: warning: unused variable ‘h’ [-Wunused-variable] int N,H,U,i,j,x,totalg=0,max,*h,*g,*culese,index=0; ^ user.c: In function ‘sortare_gutui’: user.c:60:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:66:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&N); ^ user.c:67:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&H); ^ user.c:68:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&U); ^ user.c:74:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&gutui[i].h); ^ user.c:75:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(pFile,"%i",&gutui[i].g); ^ user.c:96:22: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] gutui[x].g=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbIncorect0
20ms252kbKilled by signal 11(SIGSEGV).0
30ms260kbIncorect0
40ms264kbIncorect0
54ms264kbKilled by signal 11(SIGSEGV).0
612ms256kbIncorect0
7Depăşit328kbTime limit exceeded.0
8Depăşit388kbTime limit exceeded.0
920ms472kbKilled by signal 11(SIGSEGV).0
1036ms624kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?