Problem supperbox
User Sans12345
Submission Time 2023-12-05 18:46:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

supperbox.cpp:1:2: error: stray ‘#’ in program
1 | v#include <bits/stdc++.h>
| ^
supperbox.cpp:1:1: error: ‘v’ does not name a type
1 | v#include <bits/stdc++.h>
| ^
supperbox.cpp: In function ‘void precompute(ll, ll)’:
supperbox.cpp:15:29: error: ‘max’ was not declared in this scope
15 | if(j-c[i]>=0) dp[i][j] = max(dp[i][j],dp[i+1][j-c[i]]+s[i]);
| ^~~
supperbox.cpp:22:29: error: ‘max’ was not declared in this scope
22 | if(j-c[i]>=0) dp[i][j] = max(dp[i][j],dp[i-1][j-c[i]]+s[i]);
| ^~~
supperbox.cpp: At global scope:
supperbox.cpp:47:1: error: ‘queue’ does not name a type
47 | queue<array<ll,2>> bfs;
| ^~~~~
supperbox.cpp:50:1: error: ‘vector’ does not name a type
50 | vector<array<ll,4>> layer[14];
| ^~~~~~
supperbox.cpp:53:12: error: variable or field ‘solve’ decl