Pagini recente » Borderou de evaluare (job #2739675) | Borderou de evaluare (job #2314656) | Borderou de evaluare (job #2735710) | Borderou de evaluare (job #764689) | Borderou de evaluare (job #2220434)
Borderou de evaluare (job #2220434)
Raport evaluator
Compilare:
user.cpp: In member function ‘Edge EdgeHeap::decapitate()’:
user.cpp:57:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((indice << 1) + 1 < m_heap.size() &&
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
user.cpp:65:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((indice << 1) < m_heap.size())
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
user.cpp:65:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if((indice << 1) < m_heap.size())
^~
user.cpp:73:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
return result;
^~~~~~
user.cpp: In function ‘int main()’:
user.cpp:92:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < edges[1].size(); ++i)
~~^~~~~~~~~~~~~~~~~
user.cpp:106:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < edges[nextNode].size(); ++i)
~~^~~~~~~~~~~~~~~~~~~~~~~~
user.cpp:79:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "r", stdin);
^
user.cpp:80:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1316kb | OK | 10 |
2 | 0ms | 1312kb | OK | 10 |
3 | 4ms | 1352kb | OK | 10 |
4 | 4ms | 1376kb | OK | 10 |
5 | 56ms | 1848kb | OK | 10 |
6 | 108ms | 2284kb | OK | 10 |
7 | 140ms | 2632kb | OK | 10 |
8 | 364ms | 3968kb | OK | 10 |
9 | 212ms | 3284kb | OK | 10 |
10 | Depăşit | 4116kb | Time limit exceeded. | 0 |
Punctaj total | 90 |