Pagini recente » Borderou de evaluare (job #2155788) | Borderou de evaluare (job #2978890) | Borderou de evaluare (job #2648582) | Borderou de evaluare (job #2509141) | Borderou de evaluare (job #2153868)
Borderou de evaluare (job #2153868)
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 |
1 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 864kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 868kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 936kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 812kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 816kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 820kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 0ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
12 | 0ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 0ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 816kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 804kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 0ms | 872kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |