candies.cpp: In function 'std::vector<int> distribute_candies(int*, int*, int*, int*)':
candies.cpp:5:18: warning: 'sizeof' on array function parameter 'c' will return size of 'int*' [-Wsizeof-array-argument]
5 | int n=sizeof(c);
| ~^~
candies.cpp:3:36: note: declared here
3 | vector<int> distribute_candies(int c[], int l[], int r[], int v[])
| ~~~~^~~
candies.cpp:6:18: warning: 'sizeof' on array function parameter 'l' will return size of 'int*' [-Wsizeof-array-argument]
6 | int q=sizeof(l);
| ~^~
candies.cpp:3:45: note: declared here
3 | vector<int> distribute_candies(int c[], int l[], int r[], int v[])
| ~~~~^~~
/usr/bin/ld: /tmp/ccjiHxGx.o: in function `main':
grader.cpp:(.text.startup+0x30e): undefined reference to `distribute_candies(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status