Pagini recente » Borderou de evaluare (job #680182) | Borderou de evaluare (job #614097) | Borderou de evaluare (job #51410) | Borderou de evaluare (job #852783) | Borderou de evaluare (job #3211923)
Borderou de evaluare (job #3211923)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:80:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for (int i = 0; i < vec.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp: In instantiation of 'void heapSort(std::vector<Type>&) [with Type = int]':
main.cpp:79:13: required from here
main.cpp:59:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for (int i = 0; i < vec.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp:62:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for (int i = 0; i < vec.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp: In instantiation of 'Type Heap<Type>::pop() [with Type = int]':
main.cpp:63:26: required from 'void heapSort(std::vector<Type>&) [with Type = int]'
main.cpp:79:13: required from here
main.cpp:28:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if (son < heap.size()) {
| ~~~~^~~~~~~~~~~~~
main.cpp:29:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | if (son + 1 < heap.size() && heap[son] > heap[son + 1]) {
| ~~~~~~~~^~~~~~~~~~~~~
main.cpp:36:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | if (son >= heap.size()) { break; }
| ~~~~^~~~~~~~~~~~~~
main.cpp:37:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if (son + 1 < heap.size() && heap[son] > heap[son + 1]) {
| ~~~~~~~~^~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 303kb | OK | 5 | 20 |
| 2 | 0ms | 303kb | OK | 5 |
| 3 | 0ms | 303kb | OK | 5 |
| 4 | 0ms | 303kb | OK | 5 |
| 5 | 0ms | 303kb | OK | 5 | 20 |
| 6 | 0ms | 303kb | OK | 5 |
| 7 | 0ms | 303kb | OK | 5 |
| 8 | 0ms | 303kb | OK | 5 |
| 9 | 19ms | 1732kb | OK | 5 | 20 |
| 10 | 14ms | 1740kb | OK | 5 |
| 11 | 14ms | 1470kb | OK | 5 |
| 12 | 14ms | 1466kb | OK | 5 |
| 13 | 69ms | 4845kb | OK | 5 | 20 |
| 14 | 49ms | 4939kb | OK | 5 |
| 15 | 54ms | 4853kb | OK | 5 |
| 16 | 64ms | 4927kb | OK | 5 |
| 17 | 103ms | 6447kb | OK | 5 | 20 |
| 18 | 73ms | 6553kb | OK | 5 |
| 19 | 78ms | 6889kb | OK | 5 |
| 20 | 88ms | 6791kb | OK | 5 |
| Punctaj total | 100 |