Borderou de evaluare (job #3168948)
Raport evaluator
Compilare:
In function 'int get_parent(int)',
inlined from 'int get_parent(int)' at main.cpp:52:43,
inlined from 'int get_parent(int)' at main.cpp:47:5:
main.cpp:48:16: warning: array subscript -1 is below array bounds of 'MS [1505]' [-Warray-bounds]
48 | if (dist[node].prev_node == src)
| ~~~~~~~~~^
main.cpp: In function 'int get_parent(int)':
main.cpp:15:4: note: while referencing 'dist'
15 | MS dist[L];
| ^~~~
In function 'int get_parent(int)',
inlined from 'int get_parent(int)' at main.cpp:47:5,
inlined from 'int get_parent(int)' at main.cpp:52:43,
inlined from 'int get_parent(int)' at main.cpp:47:5:
main.cpp:52:19: warning: array subscript -1 is below array bounds of 'MS [1505]' [-Warray-bounds]
52 | return dist[node].prev_node = get_parent(dist[node].prev_node);
| ~~~~~~~~~^
main.cpp: In function 'int get_parent(int)':
main.cpp:15:4: note: while referencing 'dist'
15 | MS dist[L];
| ^~~~
In function 'int get_parent(int)',
inlined from 'int get_parent(int)' at main.cpp:52:43,
inlined from 'int get_parent(int)' at main.cpp:47:5,
inlined from 'int main()' at main.cpp:75:33:
main.cpp:48:16: warning: array subscript -1 is below array bounds of 'MS [1505]' [-Warray-bounds]
48 | if (dist[node].prev_node == src)
| ~~~~~~~~~^
main.cpp: In function 'int main()':
main.cpp:15:4: note: while referencing 'dist'
15 | MS dist[L];
| ^~~~
In function 'int get_parent(int)',
inlined from 'int get_parent(int)' at main.cpp:47:5,
inlined from 'int get_parent(int)' at main.cpp:52:43,
inlined from 'int get_parent(int)' at main.cpp:47:5,
inlined from 'int get_parent(int)' at main.cpp:52:43,
inlined from 'int get_parent(int)' at main.cpp:47:5,
inlined from 'int get_parent(int)' at main.cpp:52:43,
inlined from 'int get_parent(int)' at main.cpp:47:5,
inlined from 'int get_parent(int)' at main.cpp:52:43,
inlined from 'int get_parent(int)' at main.cpp:47:5,
inlined from 'int get_parent(int)' at main.cpp:52:43,
inlined from 'int get_parent(int)' at main.cpp:47:5,
inlined from 'int get_parent(int)' at main.cpp:52:43,
inlined from 'int get_parent(int)' at main.cpp:47:5,
inlined from 'int get_parent(int)' at main.cpp:52:43,
inlined from 'int get_parent(int)' at main.cpp:47:5,
inlined from 'int main()' at main.cpp:75:33:
main.cpp:52:19: warning: array subscript -1 is below array bounds of 'MS [1505]' [-Warray-bounds]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 819kb | Incorect | 0 |
2 | 173ms | 6651kb | Incorect | 0 |
3 | 69ms | 4698kb | Incorect | 0 |
4 | 99ms | 5353kb | Incorect | 0 |
5 | 920ms | 8810kb | Incorect | 0 |
6 | 1578ms | 10481kb | Incorect | 0 |
7 | 1258ms | 10461kb | Incorect | 0 |
8 | 1243ms | 10452kb | Incorect | 0 |
9 | 1238ms | 10444kb | Incorect | 0 |
10 | 1240ms | 10452kb | Incorect | 0 |
Punctaj total | 0 |