Borderou de evaluare (job #2153868)

Utilizator andrew007Ciurianu Andrei andrew007 Data 6 martie 2018 15:42:39
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘calculate’: user.c:31:16: warning: implicit declaration of function ‘pow’ [-Wimplicit-function-declaration] return pow(10,18); ^ user.c:31:16: warning: incompatible implicit declaration of built-in function ‘pow’ user.c:31:16: note: include ‘<math.h>’ or provide a declaration of ‘pow’ user.c:74:12: warning: implicit declaration of function ‘fabs’ [-Wimplicit-function-declaration] if(fabs(1.0*arr_second[i].x - arr[mid].x) <= dis_minim){ ^ user.c:74:12: warning: incompatible implicit declaration of built-in function ‘fabs’ user.c:74:12: note: include ‘<math.h>’ or provide a declaration of ‘fabs’ user.c: In function ‘main’: user.c:97:5: warning: implicit declaration of function ‘mergeSort’ [-Wimplicit-function-declaration] mergeSort(arr, 1, n); ^ user.c:106:21: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration] printf("%.8f\n",sqrt(answer)); ^ user.c:106:21: warning: incompatible implicit declaration of built-in function ‘sqrt’ user.c:106:21: note: include ‘<math.h>’ or provide a declaration of ‘sqrt’ user.c:88:14: warning: variable ‘g’ set but not used [-Wunused-but-set-variable] FILE *f,*g; ^ user.c: At top level: user.c:110:6: warning: conflicting types for ‘mergeSort’ void mergeSort(PUNCT a[], int left, int right) ^ user.c:97:5: note: previous implicit declaration of ‘mergeSort’ was here mergeSort(arr, 1, n); ^ user.c: In function ‘main’: user.c:92:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.c:94:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&arr[i].x, &arr[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms876kbKilled by signal 11(SIGSEGV).0
20ms864kbKilled by signal 11(SIGSEGV).0
30ms868kbKilled by signal 11(SIGSEGV).0
40ms796kbKilled by signal 11(SIGSEGV).0
50ms936kbKilled by signal 11(SIGSEGV).0
60ms800kbKilled by signal 11(SIGSEGV).0
70ms876kbKilled by signal 11(SIGSEGV).0
80ms812kbKilled by signal 11(SIGSEGV).0
90ms816kbKilled by signal 11(SIGSEGV).0
100ms820kbKilled by signal 11(SIGSEGV).0
110ms752kbKilled by signal 11(SIGSEGV).0
120ms796kbKilled by signal 11(SIGSEGV).0
130ms756kbKilled by signal 11(SIGSEGV).0
140ms876kbKilled by signal 11(SIGSEGV).0
150ms796kbKilled by signal 11(SIGSEGV).0
160ms876kbKilled by signal 11(SIGSEGV).0
170ms816kbKilled by signal 11(SIGSEGV).0
180ms804kbKilled by signal 11(SIGSEGV).0
190ms872kbKilled by signal 11(SIGSEGV).0
200ms800kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?