Problem | power |
---|---|
User | dsyz |
Submission Time | 2023-02-06 17:54:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
power.cpp: In function ‘void dfs(ll, ll)’:
power.cpp:18:12: error: invalid types ‘ll {aka long long int}[int]’ for array subscript
18 | dp[x][0] = maximum + generator[x];
| ^
power.cpp:19:12: error: invalid types ‘ll {aka long long int}[int]’ for array subscript
19 | dp[x][1] = dp[x][1] - generator[x];
| ^
power.cpp:19:23: error: invalid types ‘ll {aka long long int}[int]’ for array subscript
19 | dp[x][1] = dp[x][1] - generator[x];
| ^