Pagini recente » Borderou de evaluare (job #2678259) | Rating Alecu Stefan-Iulian (a13cui) | Cod sursa (job #256325) | Borderou de evaluare (job #2309087) | Borderou de evaluare (job #3002632)
Borderou de evaluare (job #3002632)
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 | 184kb | OK | 10 | 60 |
| 6 | 19ms | 593kb | OK | 10 |
| 7 | 43ms | 1822kb | OK | 10 |
| 8 | 31ms | 1466kb | OK | 10 |
| 9 | 40ms | 1044kb | OK | 10 |
| 10 | 37ms | 1003kb | OK | 10 |
| Punctaj total | 100 |