Borderou de evaluare (job #1606994)

Utilizator robert.stefanRobert Stefan robert.stefan Data 20 februarie 2016 19:05:19
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘read’: user.c:21:9: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] GRAPH *p = (GRAPH*) malloc (sizeof (GRAPH)); ^ user.c:21:29: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] GRAPH *p = (GRAPH*) malloc (sizeof (GRAPH)); ^ user.c:23:19: warning: assignment from incompatible pointer type [enabled by default] p -> next = graph[node]; ^ user.c: In function ‘BFS’: user.c:54:18: warning: assignment from incompatible pointer type [enabled by default] node = node -> next; ^ user.c: In function ‘read’: user.c:17:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d", &n, &m, &s); ^ user.c:20:15: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &node, &edge); ^ user.c: In function ‘main’: user.c:64:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen (IN, "r", stdin); ^ user.c:65:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen (OUT, "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbIncorect0
20ms288kbIncorect0
30ms284kbIncorect0
44ms440kbIncorect0
512ms612kbIncorect0
656ms1692kbIncorect0
7160ms3988kbIncorect0
8140ms3632kbIncorect0
9776ms17068kbIncorect0
10792ms17068kbIncorect0
Punctaj total0

Ceva nu functioneaza?