QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#839795 | #4. Gap | daoquanglinh2007 | Compile Error | / | / | C++20 | 423b | 2025-01-02 09:40:26 | 2025-01-02 09:40:26 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘long long int findGap(int, int)’: answer.code:16:41: error: invalid conversion from ‘long long int’ to ‘long long int*’ [-fpermissive] 16 | MinMax(l, r, a[i], a[N-i]); | ~~~^ | | | long long int In file included from answer.code: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*); | ^~~~~~~~~~ answer.code:16:49: error: invalid conversion from ‘long long int’ to ‘long long int*’ [-fpermissive] 16 | MinMax(l, r, a[i], a[N-i]); | ~~~~~^ | | | long long int gap.h:2:47: note: initializing argument 4 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*); | ^~~~~~~~~~