Borderou de evaluare (job #3248692)
Raport evaluator
Compilare:
main.cpp: In function 'void push(int)':
main.cpp:34:42: warning: narrowing conversion of 'order_to_pos.std::vector<int>::size()' from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
34 | heapp.push_back({x, order_to_pos.size()});
| ~~~~~~~~~~~~~~~~~^~
main.cpp: In function 'void heapify_down(int)':
main.cpp:55:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if(left < heapp.size() && heapp[left].value < heapp[index].value){
| ~~~~~^~~~~~~~~~~~~~
main.cpp:58:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | if(right < heapp.size() && heapp[right].value < heapp[min_index].value){
| ~~~~~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Incorect | 0 | 0 |
2 | 0ms | 303kb | Incorect | 0 | 0 |
3 | 0ms | 303kb | OK | 10 | 10 |
4 | 2ms | 557kb | Incorect | 0 | 0 |
5 | 0ms | 303kb | Incorect | 0 | 0 |
6 | 14ms | 1720kb | Incorect | 0 |
7 | 44ms | 17231kb | OK | 10 |
8 | 43ms | 3096kb | OK | 10 |
9 | 34ms | 2965kb | Incorect | 0 |
10 | 34ms | 3006kb | Incorect | 0 |
Punctaj total | 10 |