Borderou de evaluare (job #1481632)

Utilizator thinkphpAdrian Statescu thinkphp Data 4 septembrie 2015 22:43:09
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘ADDEdge’: user.c:27:26: warning: assignment from incompatible pointer type [enabled by default] newNode->next = ListNodes[ x ]; ^ user.c: In function ‘dijkstra’: user.c:77:45: warning: assignment from incompatible pointer type [enabled by default] for(p = ListNodes[ curr ]; p; p = p->next) { ^ user.c:91:41: warning: assignment from incompatible pointer type [enabled by default] last->next = o; ^ user.c:92:35: warning: assignment from incompatible pointer type [enabled by default] last = last->next; ^ user.c:98:18: warning: assignment from incompatible pointer type [enabled by default] prim = prim->next; ^ user.c: In function ‘readData’: user.c:37:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(FIN, "r", stdin); ^ user.c:39:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &nodes, &edges); ^ user.c:43:15: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &y, &c); ^ user.c: In function ‘writeData’: user.c:105:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(FOUT, "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
20ms288kbOK10
30ms320kbOK10
40ms340kbOK10
520ms752kbOK10
640ms1156kbOK10
752ms1416kbOK10
860ms1760kbOK10
9204ms4004kbOK10
10304ms5068kbOK10
Punctaj total100

Ceva nu functioneaza?