vault.cpp: In function 'int main()':
vault.cpp:23:42: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
23 | dp[i & 1][j] = max(dp[i & 1][j], dp[i & 1 ^ 1][j]);
| ~~^~~
vault.cpp:27:43: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
27 | dp[i & 1][j] = max(dp[i & 1][j], dp[i & 1 ^ 1][prv_sum] + k);
| ~~^~~
vault.cpp:27:52: error: 'prv_sum' was not declared in this scope; did you mean 'prev_sum'?
27 | dp[i & 1][j] = max(dp[i & 1][j], dp[i & 1 ^ 1][prv_sum] + k);
| ^~~~~~~
| prev_sum