jelly.cpp: In function 'int dp(int, int, int)':
jelly.cpp:15:45: error: 'max' was not declared in this scope; did you mean 'mux'?
15 | if(x>=a[i]&&y>=b[i])return mem[i][x][y]=max({dp(i+1,x-a[i],y)+1,dp(i+1,x,y-b[i])+1,dp(i+1,x,y)});
| ^~~
| mux
jelly.cpp:16:49: error: 'max' was not declared in this scope; did you mean 'mux'?
16 | else if(x>=a[i]&&y<b[i])return mem[i][x][y]=max(dp(i+1,x-a[i],y)+1,dp(i+1,x,y));
| ^~~
| mux
jelly.cpp:17:49: error: 'max' was not declared in this scope; did you mean 'mux'?
17 | else if(x<a[i]&&y>=b[i])return mem[i][x][y]=max(dp(i+1,x,y-b[i])+1,dp(i+1,x,y));
| ^~~
| mux
jelly.cpp: At global scope:
jelly.cpp:21:44: error: 'std::vector' has not been declared
21 | int find_maximum_unique(int x, int y, std::vector<int> a, std::vector<int> b) {
| ^~~~~~
jelly.cpp:21:50: error: expected ',' or '...' before '<' token
21 | int find_maximum_unique(int x, int y, std::vector<int> a, std::vector<int> b) {
| ^
jelly.cpp: In function 'int find_maximum_unique(int, int, int)':
jelly.cpp:23:8: error: request for member 'size' in 'a', which is of non-class type 'int [1000000]'
23 | n = a.size();
| ^~~~