Problem lunchbox
User Henries
Submission Time 2024-10-07 22:31:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘void solve(std::vector<long long int>, long long int)’:
lunchbox.cpp:20:11: error: a function-definition is not allowed here before ‘{’ token
20 | int main(){
| ^
lunchbox.cpp:30:1: error: expected ‘}’ at end of input
30 | }
| ^
lunchbox.cpp:3:44: note: to match this ‘{’
3 | void solve(vector<long long> v,long long n){
| ^