Pagini recente » Borderou de evaluare (job #2862484) | Borderou de evaluare (job #1777255) | Borderou de evaluare (job #3271469) | Borderou de evaluare (job #1106791) | Borderou de evaluare (job #3136793)
Borderou de evaluare (job #3136793)
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 |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 5ms | 1081kb | Incorect | 0 |
6 | 9ms | 1867kb | Incorect | 0 |
7 | 9ms | 2392kb | Incorect | 0 |
8 | 29ms | 5697kb | OK | 10 |
9 | 19ms | 3497kb | Incorect | 0 |
10 | 59ms | 9281kb | Incorect | 0 |
Punctaj total | 20 |