Problem | razlika |
---|---|
User | eliasxyz |
Submission Time | 2025-06-05 22:25:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
razlika.cpp: In function ‘int main()’:
razlika.cpp:26:16: error: invalid initialization of reference of type ‘std::vector<int>&’ from expression of type ‘int [N]’
26 | counting_sort(A);
| ^
razlika.cpp:4:38: note: in passing argument 1 of ‘void counting_sort(std::vector<int>&)’
4 | void counting_sort(std::vector<int>& arr){ //desperation
| ~~~~~~~~~~~~~~~~~~^~~