Borderou de evaluare (job #1606995)

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

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
10ms288kbOK10
20ms280kbOK10
30ms288kbOK10
44ms444kbOK10
58ms612kbOK10
652ms1684kbOK10
7152ms3988kbOK10
8128ms3628kbOK10
9776ms17068kbOK10
10760ms17068kbOK10
Punctaj total100

Ceva nu functioneaza?