0_0_39608065_15037.cpp: In function 'int main()':
0_0_39608065_15037.cpp:12:33: error: 'n' was not declared in this scope
12 | for (int k = 0; k + i < n; k ++){
| ^
0_0_39608065_15037.cpp:20:25: error: 'n' was not declared in this scope
20 | for (int i = 0; i < n; i++){
| ^
0_0_39608065_15037.cpp:22:31: error: expected ';' before '}' token
22 | ans[i] += dp[i][j]
| ^
| ;
23 | }
| ~
|