Problem gap
User PlayVoltz
Submission Time 2024-11-19 23:23:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gap.cpp: In function ‘long long int findGap(int, int)’:
gap.cpp:17:22: error: invalid conversion from ‘long long int’ to ‘long long int*’ [-fpermissive]
17 | MinMax(low, high, a, b);
| ^
| |
| long long int
In file included from gap.cpp:1:
gap.h:2:35: note: initializing argument 3 of ‘void MinMax(long long int, long long int, long long int*, long long int*)’
2 | void MinMax(long long, long long, long long*, long long*);
| ^~~~~~~~~~
gap.cpp:17:25: error: invalid conversion from ‘long long int’ to ‘long long int*’ [-fpermissive]
17 | MinMax(low, high, a, b);
| ^
| |
| long long int
In file included from gap.cpp:1:
gap.h:2:47: note: initializing argument 4 of ‘void MinMax(long long int, long long int, long long in