Problem | journey3 |
---|---|
User | ak2006 |
Submission Time | 2023-01-26 02:08:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
journey3.cpp: In function ‘ll solve(int, int)’:
journey3.cpp:24:32: error: invalid types ‘int[int]’ for array subscript
24 | int next_c = next_val[0],min_stop = next_val[1];
| ^
journey3.cpp:26:27: error: ‘min_stop’ was not declared in this scope
26 | for (int change = min_stop;change<=k;change++)cnt += solve(next_c,k - change);
| ^~~~~~~~