Pagini recente » Borderou de evaluare (job #2827374) | Borderou de evaluare (job #209263) | Borderou de evaluare (job #654981) | Borderou de evaluare (job #1558252) | Borderou de evaluare (job #3002626)
Borderou de evaluare (job #3002626)
Raport evaluator
Compilare:
main.cpp: In function 'void deleteNode(int)':
main.cpp:46:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | while((leftChildPosition < heap.size() and heap[nodePosition].first > heap[leftChildPosition].first) or (rightChildPosition < heap.size() and heap[nodePosition].first > heap[rightChildPosition].first)) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:46:129: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | while((leftChildPosition < heap.size() and heap[nodePosition].first > heap[leftChildPosition].first) or (rightChildPosition < heap.size() and heap[nodePosition].first > heap[rightChildPosition].first)) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:47:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | if (rightChildPosition < heap.size() and heap[leftChildPosition].first >= heap[rightChildPosition].first) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 184kb | OK | 10 | 10 |
2 | 0ms | 184kb | OK | 10 | 10 |
3 | 0ms | 184kb | OK | 10 | 10 |
4 | 0ms | 184kb | OK | 10 | 10 |
5 | 0ms | 172kb | Incorect | 0 | 0 |
6 | 9ms | 651kb | Incorect | 0 |
7 | 14ms | 1781kb | Incorect | 0 |
8 | 13ms | 1449kb | OK | 10 |
9 | 14ms | 929kb | Incorect | 0 |
10 | 14ms | 929kb | Incorect | 0 |
Punctaj total | 40 |