raisins.cpp: In lambda function:
raisins.cpp:31:48: error: use of 'solve' before deduction of 'auto'
31 | for (int i = x1; i < x2; i++) lo = min(lo, solve(x1, i, y1, y2) + solve(i + 1, x2, y1, y2));
| ^~~~~
raisins.cpp:31:71: error: use of 'solve' before deduction of 'auto'
31 | for (int i = x1; i < x2; i++) lo = min(lo, solve(x1, i, y1, y2) + solve(i + 1, x2, y1, y2));
| ^~~~~
raisins.cpp:32:48: error: use of 'solve' before deduction of 'auto'
32 | for (int i = y1; i < y2; i++) lo = min(lo, solve(x1, x2, y1, i) + solve(x1, x2, i + 1, y2));
| ^~~~~
raisins.cpp:32:71: error: use of 'solve' before deduction of 'auto'
32 | for (int i = y1; i < y2; i++) lo = min(lo, solve(x1, x2, y1, i) + solve(x1, x2, i + 1, y2));
| ^~~~~
raisins.cpp:33:24: warning: control reaches end of non-void function [-Wreturn-type]
33 | dp[x1][x2][y1][y2] = f(x1, y1, x2, y2) + lo;