Problem sorting2
User YSH2020
Submission Time 2025-03-28 13:29:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sorting2.cpp: In function ‘void sort_questions(int, int, int*)’:
sorting2.cpp:27:26: error: could not convert ‘A’ from ‘int*’ to ‘std::vector<int>’
27 | vector<int> ans = solve(A, N);
| ^
| |
| int*