Problem party
User YongXin
Submission Time 2023-06-27 21:15:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party.cpp: In function ‘int main()’:
party.cpp:22:8: error: invalid initialization of reference of type ‘int (&)[]’ from expression of type ‘int [n]’
22 | f(0,2,x,m);
| ^
party.cpp:3:26: note: in passing argument 3 of ‘void f(int, int, int (&)[], std::vector<int>*)’
3 | void f(int s,int l,int (&x)[],vector<int>m[]){
| ~~~~~~^~~~