Problem swap
User PlayVoltz
Submission Time 2024-03-06 14:17:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swap.cpp: In function β€˜int getMinimumFuelCapacity(int, int)’:
swap.cpp:73:51: error: invalid types β€˜__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]’ for array subscript
73 | if (fp(mid, x)==fp(mid, y)&&line[mid][fp(mid, x)])high=mid;
| ^