Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #3001906)
| Utilizator | Data | 14 martie 2023 01:33:18 | |
|---|---|---|---|
| Problema | Heapuri | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 40 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void deleteNode(int)':
main.cpp:37: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]
37 | while((leftChildPosition < heap.size() and heap[nodePosition].first > heap[leftChildPosition].first) or (rightChildPosition < heap.size() and heap[nodePosition].first > heap[rightChildPosition].first)) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:37: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]
37 | while((leftChildPosition < heap.size() and heap[nodePosition].first > heap[leftChildPosition].first) or (rightChildPosition < heap.size() and heap[nodePosition].first > heap[rightChildPosition].first)) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:38: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]
38 | 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 | Incorect | 0 | 0 |
| 6 | 19ms | 651kb | Incorect | 0 | |
| 7 | 40ms | 1748kb | Incorect | 0 | |
| 8 | 33ms | 1437kb | OK | 10 | |
| 9 | 37ms | 1007kb | OK | 10 | |
| 10 | 39ms | 983kb | Incorect | 0 | |
| Punctaj total | 40 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
