kitchen.cpp:5:8: error: 'MAXN' was not declared in this scope; did you mean 'MAXV'?
5 | int dp[MAXN];
| ^~~~
| MAXV
kitchen.cpp: In function 'int main()':
kitchen.cpp:16:29: error: expected primary-expression before ')' token
16 | for(int i = 1; i <= m; i+++) scanf("%d", &b[i]);
| ^
kitchen.cpp:21:2: error: 'dp' was not declared in this scope
21 | dp[0] = 1;
| ^~
kitchen.cpp:27:30: error: expected ';' before ')' token
27 | for(int i = soma; i <= 90000){
| ^
| ;
kitchen.cpp:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d %d %d", &n, &m, &k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
kitchen.cpp:12:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
12 | scanf("%d", &a[i]);
| ~~~~~^~~~~~~~~~~~~
kitchen.cpp:16:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
16 | for(int i = 1; i <= m; i+++) scanf("%d", &b[i]);
| ~~~~~^~~~~~~~~~~~~