Pagini recente » Borderou de evaluare (job #2223700) | Borderou de evaluare (job #253120) | Borderou de evaluare (job #1680423) | Borderou de evaluare (job #1676568) | Borderou de evaluare (job #1711233)
Borderou de evaluare (job #1711233)
Raport evaluator
Compilare:
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]);
^
user.c:174:5: note: expected ‘struct node_list **’ but argument is of type ‘struct node_list *’
int get_first_elem_list(node_list **node)
^
user.c:257:5: warning: passing argument 1 of ‘remove_first_list’ from incompatible pointer type [enabled by default]
remove_first_list(V[node]);
^
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:264:2: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
free(queue);
^
user.c: In function ‘main’:
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 268kb | OK | 5 | 20 |
| 2 | 0ms | 268kb | OK | 5 |
| 3 | 0ms | 272kb | OK | 5 |
| 4 | 0ms | 276kb | OK | 5 |
| 5 | 0ms | 280kb | OK | 5 | 20 |
| 6 | 0ms | 276kb | OK | 5 |
| 7 | 0ms | 272kb | OK | 5 |
| 8 | 0ms | 272kb | OK | 5 |
| 9 | 68ms | 664kb | OK | 5 | 20 |
| 10 | 60ms | 660kb | OK | 5 |
| 11 | 60ms | 668kb | OK | 5 |
| 12 | 64ms | 664kb | OK | 5 |
| 13 | 260ms | 1644kb | OK | 5 | 20 |
| 14 | 216ms | 1648kb | OK | 5 |
| 15 | 208ms | 1640kb | OK | 5 |
| 16 | 224ms | 1640kb | OK | 5 |
| 17 | 384ms | 2228kb | OK | 5 | 20 |
| 18 | 308ms | 2216kb | OK | 5 |
| 19 | 292ms | 2216kb | OK | 5 |
| 20 | 332ms | 2224kb | OK | 5 |
| Punctaj total | 100 |