Problem | oranges2 |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-06 15:12:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
oranges2.cpp: In function ‘auto precalc(long int, long int*)’:
oranges2.cpp:45:22: error: invalid types ‘long int[long int]’ for array subscript
45 | oranges[start][start] = 0;
| ^
oranges2.cpp:49:32: error: invalid types ‘long int[long int]’ for array subscript
49 | if (oranges[start][num.first]==-1){
| ^
oranges2.cpp:50:29: error: invalid types ‘long int[long int]’ for array subscript
50 | oranges[start][num.first] = max(num.second, oranges[start][q.front()]);
| ^
oranges2.cpp:50:73: error: invalid types ‘long int[__gnu_cxx::__alloc_traits<std::allocator<long int>, long int>::value_type {aka long int}]’ for array subscript
50 | oranges[start][num.first] = max(num.second, oranges[start][q.front()]);
| ^
oranges2.cpp: In function ‘int main