Borderou de evaluare (job #1711230)

Utilizator ArkinyStoica Alex Arkiny Data 30 mai 2016 20:41:51
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘quicksort’: user.c:84:5: warning: passing argument 1 of ‘swap’ makes pointer from integer without a cast [enabled by default] swap(v[i], v[j]); ^ user.c:21:6: note: expected ‘int *’ but argument is of type ‘int’ void swap(int *a, int *b) ^ user.c:84:5: warning: passing argument 2 of ‘swap’ makes pointer from integer without a cast [enabled by default] swap(v[i], v[j]); ^ user.c:21:6: note: expected ‘int *’ but argument is of type ‘int’ void swap(int *a, int *b) ^ user.c: In function ‘initialise_heap’: user.c:98:2: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] *root = (node_heap*)malloc(sizeof(node_heap)); ^ user.c:98:22: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] *root = (node_heap*)malloc(sizeof(node_heap)); ^ user.c: In function ‘add_to_heap’: user.c:112:44: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] node_heap *temp_node_heap = (node_heap*)malloc(sizeof(node_heap)); ^ user.c:127:44: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] node_heap *temp_node_heap = (node_heap*)malloc(sizeof(node_heap)); ^ user.c: In function ‘add_to_list’: user.c:159:29: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] node_list *p = (node_list*)malloc(sizeof(node_list)); ^ user.c: In function ‘remove_first_list’: user.c:170:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(p); ^ user.c:170:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] user.c: In function ‘DFS’: user.c:229:3: warning: passing argument 1 of ‘remove_first_list’ from incompatible pointer type [enabled by default] remove_first_list(V[t]); ^ user.c:164:6: note: expected ‘struct node_list **’ but argument is of type ‘struct node_list *’ void remove_first_list(node_list **node) ^ user.c: In function ‘BFS’: user.c:235:21: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] int *queue = (int*)malloc(sizeof(int) * size); ^ user.c:249:4: warning: passing argument 1 of ‘get_first_elem_list’ from incompatible pointer type [enabled by default] el = get_first_elem_list(V[node]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms248kbKilled by signal 11(SIGSEGV).00
20ms252kbKilled by signal 11(SIGSEGV).0
30ms252kbKilled by signal 11(SIGSEGV).0
40ms252kbKilled by signal 11(SIGSEGV).0
50ms252kbKilled by signal 11(SIGSEGV).00
60ms260kbKilled by signal 11(SIGSEGV).0
70ms260kbKilled by signal 11(SIGSEGV).0
80ms252kbKilled by signal 11(SIGSEGV).0
932ms652kbKilled by signal 11(SIGSEGV).00
1032ms644kbKilled by signal 11(SIGSEGV).0
1132ms648kbKilled by signal 11(SIGSEGV).0
1232ms648kbKilled by signal 11(SIGSEGV).0
13116ms1624kbKilled by signal 11(SIGSEGV).00
14116ms1624kbKilled by signal 11(SIGSEGV).0
15112ms1624kbKilled by signal 11(SIGSEGV).0
16112ms1620kbKilled by signal 11(SIGSEGV).0
17156ms2204kbKilled by signal 11(SIGSEGV).00
18164ms2196kbKilled by signal 11(SIGSEGV).0
19160ms2196kbKilled by signal 11(SIGSEGV).0
20164ms2200kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?