closing.cpp: In function 'long long int max_score(long long int, long long int, long long int, long long int, std::vector<long long int, std::allocator<long long int> >, std::vector<long long int, std::allocator<long long int> >, std::vector<long long int, std::allocator<long long int> >)':
closing.cpp:62:19: warning: unused variable 'lstmask' [-Wunused-variable]
62 | long long lstmask=(1<<n),cost,cnt,sol=0,j;
| ^~~~~~~
closing.cpp:62:34: warning: unused variable 'cost' [-Wunused-variable]
62 | long long lstmask=(1<<n),cost,cnt,sol=0,j;
| ^~~~
closing.cpp:62:39: warning: unused variable 'cnt' [-Wunused-variable]
62 | long long lstmask=(1<<n),cost,cnt,sol=0,j;
| ^~~
closing.cpp:62:43: warning: unused variable 'sol' [-Wunused-variable]
62 | long long lstmask=(1<<n),cost,cnt,sol=0,j;
| ^~~
closing.cpp:62:49: warning: unused variable 'j' [-Wunused-variable]
62 | long long lstmask=(1<<n),cost,cnt,sol=0,j;
| ^
/usr/bin/ld: /tmp/ccdAa7Fz.o: in function `main':
grader.cpp:(.text.startup+0x6a1): undefined reference to `max_score(int, int, int, long long, 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