Pagini recente » Borderou de evaluare (job #2474046) | Borderou de evaluare (job #1864968)
Borderou de evaluare (job #1864968)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:343:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (!visited[target[currNode][i]])
^
user.cpp: In member function ‘bool Heap<type>::push(const type&, int) [with type = int]’:
user.cpp:100:3: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
if (n < numElem)
^
user.cpp: In function ‘int main()’:
user.cpp:100:3: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
if (n < numElem)
^
user.cpp:345:47: warning: ‘currNode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
heap.push(currCost + costEdge[currNode][i], target[currNode][i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1964kb | OK | 10 |
2 | 0ms | 1972kb | OK | 10 |
3 | 4ms | 2004kb | OK | 10 |
4 | 4ms | 2028kb | OK | 10 |
5 | 28ms | 2400kb | OK | 10 |
6 | 56ms | 2760kb | OK | 10 |
7 | 76ms | 3052kb | OK | 10 |
8 | 164ms | 4312kb | OK | 10 |
9 | 116ms | 4220kb | OK | 10 |
10 | 360ms | 6068kb | OK | 10 |
Punctaj total | 100 |