Pagini recente » Borderou de evaluare (job #1778572) | Borderou de evaluare (job #637570) | Borderou de evaluare (job #1980093) | Borderou de evaluare (job #2619805) | Borderou de evaluare (job #2758797)
Borderou de evaluare (job #2758797)
Raport evaluator
Compilare:
main.cpp: In function 'void sift_down(int, std::vector<int>&, std::vector<int>&, const std::vector<int>&)':
main.cpp:42:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(left_son(current_pos) < heap.size() && distances[heap[current_pos]] > distances[heap[left_son(current_pos)]])
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:44:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(right_son(current_pos) < heap.size() && distances[heap[current_pos]] > distances[heap[right_son(current_pos)]] && distances[heap[right_son(current_pos)]] < distances[heap[left_son(current_pos)]])
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp: In function 'std::vector<int> Prim(int, const std::vector<std::vector<std::pair<int, int> > >&, int&)':
main.cpp:59:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph.size(); ++i){
~~^~~~~~~~~~~~~~
main.cpp:87:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph.size(); ++i)
~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Corect | 10 |
3 | 3ms | 131kb | Corect | 10 |
4 | 3ms | 131kb | Corect | 10 |
5 | 3ms | 131kb | Corect | 10 |
6 | 179ms | 4530kb | Corect | 10 |
7 | 447ms | 8876kb | Corect | 10 |
8 | 62ms | 1966kb | Corect | 10 |
9 | 44ms | 1835kb | Corect | 10 |
10 | 321ms | 7147kb | Corect | 10 |
Punctaj total | 100 |