Borderou de evaluare (job #3136793)

Utilizator razviOKPopan Razvan Calin razviOK Data 8 iunie 2023 17:11:41
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.c: In function 'Dijkstra': main.c:119:21: warning: pointer targets in passing argument 2 of 'Downheap' differ in signedness [-Wpointer-sign] 119 | Downheap(heap,dist,posInHeap,1,len); | ^~~~ | | | int * main.c:69:48: note: expected 'unsigned int *' but argument is of type 'int *' 69 | void Downheap(unsigned int *heap,unsigned int *dist,unsigned *posInHeap,unsigned int curr_pos,unsigned int len) | ~~~~~~~~~~~~~~^~~~ main.c:130:28: warning: pointer targets in passing argument 2 of 'UpHeap' differ in signedness [-Wpointer-sign] 130 | UpHeap(heap,dist,posInHeap,posInHeap[L->neighbour],len); | ^~~~ | | | int * main.c:50:46: note: expected 'unsigned int *' but argument is of type 'int *' 50 | void UpHeap(unsigned int *heap,unsigned int *dist,unsigned int *posInHeap,unsigned int curr_pos,unsigned int len) | ~~~~~~~~~~~~~~^~~~ main.c:134:29: warning: pointer targets in passing argument 2 of 'UpHeap' differ in signedness [-Wpointer-sign] 134 | UpHeap(heap,dist,posInHeap,len,len); | ^~~~ | | | int * main.c:50:46: note: expected 'unsigned int *' but argument is of type 'int *' 50 | void UpHeap(unsigned int *heap,unsigned int *dist,unsigned int *posInHeap,unsigned int curr_pos,unsigned int len) | ~~~~~~~~~~~~~~^~~~ main.c: In function 'main': main.c:165:28: warning: pointer targets in passing argument 4 of 'Dijkstra' differ in signedness [-Wpointer-sign] 165 | Dijkstra(list,heap,len,dist,posInHeap,1,n); | ^~~~ | | | unsigned int * main.c:98:71: note: expected 'int *' but argument is of type 'unsigned int *' 98 | void Dijkstra(AdjList **list,unsigned int *heap,unsigned int len,int *dist,unsigned int *posInHeap,unsigned int start,unsigned int n) | ~~~~~^~~~ main.c:165:33: warning: pointer targets in passing argument 5 of 'Dijkstra' differ in signedness [-Wpointer-sign] 165 | Dijkstra(list,heap,len,dist,posInHeap,1,n); | ^~~~~~~~~ | | | int * main.c:98:90: note: expected 'unsigned int *' but argument is of type 'int *' 98 | void Dijkstra(AdjList **list,unsigned int *heap,unsigned int len,int *dist,unsigned int *posInHeap,unsigned int start,unsigned int n) | ~~~~~~~~~~~~~~^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbOK10
30ms303kbIncorect0
40ms303kbIncorect0
55ms1081kbIncorect0
69ms1867kbIncorect0
79ms2392kbIncorect0
829ms5697kbOK10
919ms3497kbIncorect0
1059ms9281kbIncorect0
Punctaj total20

Ceva nu functioneaza?