Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #3129352)
| Utilizator | Data | 14 mai 2023 01:26:06 | |
|---|---|---|---|
| Problema | Heapuri | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 40 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void heapify(std::vector<int>&, int)':
main.cpp:33:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if(left < heap.size() && heap[left] < heap[largest])
| ~~~~~^~~~~~~~~~~~~
main.cpp:38:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | if(right < heap.size() && heap[right] < heap[largest])
| ~~~~~~^~~~~~~~~~~~~
main.cpp: In function 'void delete_element(std::vector<int>&, int)':
main.cpp:64:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | while(i < heap.size() && heap[i] != key)
| ~~^~~~~~~~~~~~~
main.cpp:69:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | if(i < heap.size())
| ~~^~~~~~~~~~~~~
main.cpp: In function 'int searchVectorPairs(std::vector<std::pair<int, int> >, int)':
main.cpp:81:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | while(i < v.size() && v[i].second != key)
| ~~^~~~~~~~~~
main.cpp:86:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | if(i < v.size())
| ~~^~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 0ms | 303kb | OK | 10 | 10 |
| 2 | 0ms | 303kb | OK | 10 | 10 |
| 3 | 0ms | 303kb | OK | 10 | 10 |
| 4 | 9ms | 303kb | OK | 10 | 10 |
| 5 | 0ms | 303kb | OK | 10 | 0 |
| 6 | 129ms | 856kb | Time limit exceeded | 0 | |
| 7 | 128ms | 2420kb | Time limit exceeded | 0 | |
| 8 | 129ms | 1732kb | Time limit exceeded | 0 | |
| 9 | 129ms | 897kb | Time limit exceeded | 0 | |
| 10 | 129ms | 909kb | Time limit exceeded | 0 | |
| Punctaj total | 40 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
