Problem | volcanic |
---|---|
User | haydendoo |
Submission Time | 2023-01-12 07:21:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
volcanic.cpp: In function ‘void solve()’:
volcanic.cpp:254:13: error: invalid types ‘long long int[long long int]’ for array subscript
254 | dick[sy][sx] = 1e18;
| ^
volcanic.cpp:263:18: error: invalid types ‘long long int[long long int]’ for array subscript
263 | if(dick[ny][nx]!=-1 && dick[ny][nx]<=nd) continue;
| ^
volcanic.cpp:263:38: error: invalid types ‘long long int[long long int]’ for array subscript
263 | if(dick[ny][nx]!=-1 && dick[ny][nx]<=nd) continue;
| ^
volcanic.cpp:264:15: error: invalid types ‘long long int[long long int]’ for array subscript
264 | dick[ny][nx] = nd; pq.push({nd,{nx, ny}});
| ^
volcanic.cpp:267:19: error: invalid types ‘long long int[long long int]’ for array subscript
267 | print(dick[ey][ex]);
| ^