Record Detail

Compile Error

In file included from /in/driver/main.cpp:4:0:
/in/sort.hpp: In instantiation of 'void quick_sort_inplace_helper(std::vector<T>&, int, int, Compare) [with T = node; Compare = bool (*)(const node&, const node&)]':
/in/sort.hpp:121:28:   required from 'void quick_sort_inplace(std::vector<T>&, Compare) [with T = node; Compare = bool (*)(const node&, const node&)]'
/in/driver/main.cpp:158:52:   required from here
/in/sort.hpp:160:60: error: unused parameter 'begin' [-Werror=unused-parameter]
 void quick_sort_inplace_helper(std::vector<T> &vector, int begin, int end,
                                                            ^~~~~
/in/sort.hpp:160:71: error: unused parameter 'end' [-Werror=unused-parameter]
 void quick_sort_inplace_helper(std::vector<T> &vector, int begin, int end,
                                                                       ^~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 1
Language
C++
Submit At
2024-06-20 20:03:47
Judged At
2024-08-07 00:07:15
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes