Problem | GSS |
---|---|
User | god |
Submission Time | 2025-07-10 10:23:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
GSS.cpp: In function ‘int main()’:
GSS.cpp:13:20: error: invalid conversion from ‘int*’ to ‘size_t’ {aka ‘long unsigned int’} [-fpermissive]
13 | qsort(array, array+x, cust);
| ~~~~~^~
| |
| int*
GSS.cpp:13:24: error: invalid conversion from ‘bool (*)(int, int)’ to ‘size_t’ {aka ‘long unsigned int’} [-fpermissive]
13 | qsort(array, array+x, cust);
| ^~~~
| |
| bool (*)(int, int)
GSS.cpp:13:28: error: too few arguments to function ‘void qsort(void*, size_t, size_t, __compar_fn_t)’
13 | qsort(array, array+x, cust);
| ^
In file included from /usr/include/c++/9/cstdlib:75,
from /usr/include/c++/9/ext/string_conversions.h:41,
from /usr/include/c++/9/bits/basic_string.h:6496,
from /usr/include