Problem | threetwentyoneam |
---|---|
User | Reverberate |
Submission Time | 2023-08-14 17:44:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
threetwentyoneam.cpp: In function ‘long long int dp(long long int, long long int, long long int)’:
threetwentyoneam.cpp:14:16: error: invalid types ‘long long int[long long int]’ for array subscript
14 | if(dist[pos][idx]!=-1&&dist[pos][idx]<=dist){
| ^
threetwentyoneam.cpp:14:36: error: invalid types ‘long long int[long long int]’ for array subscript
14 | if(dist[pos][idx]!=-1&&dist[pos][idx]<=dist){
| ^
threetwentyoneam.cpp:15:24: error: invalid types ‘long long int[long long int]’ for array subscript
15 | return dist[pos][idx];
| ^
threetwentyoneam.cpp:22:28: error: invalid types ‘long long int[long long int]’ for array subscript
22 | return dist[pos][idx]=min(dp(n-1,n_idx,dist+1),dp(pos+1,n_idx,dist+1));
| ^
threetwentyoneam.cpp:25:28: error: invalid types ‘long long int[long