Problem | threetwentyoneam |
---|---|
User | Reverberate |
Submission Time | 2023-08-14 17:54:20 |
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:12:16: error: invalid types ‘long long int[long long int]’ for array subscript
12 | if(dist[pos][idx]!=-1&&dist[pos][idx]<=dist){
| ^
threetwentyoneam.cpp:12:36: error: invalid types ‘long long int[long long int]’ for array subscript
12 | if(dist[pos][idx]!=-1&&dist[pos][idx]<=dist){
| ^
threetwentyoneam.cpp:13:24: error: invalid types ‘long long int[long long int]’ for array subscript
13 | return dist[pos][idx];
| ^
threetwentyoneam.cpp:20:28: error: invalid types ‘long long int[long long int]’ for array subscript
20 | return dist[pos][idx]=min(dp(n-1,n_idx,dist+1),dp(pos+1,n_idx,dist+1));
| ^
threetwentyoneam.cpp:23:28: error: invalid types ‘long long int[long