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

Compile Error

swap.cpp: In function ‘int getMinimumFuelCapacity(int, int)’:
swap.cpp:73:57: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
73 | if (fp(mid, x)==fp(mid, y)&&line[fp(mid, x)]<=time[mid])high=mid;
| ^