Problem | lunchbox |
---|---|
User | NotTYR |
Submission Time | 2023-02-08 21:45:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:14:27: error: too few arguments to function ‘void qsort(void*, size_t, size_t, __compar_fn_t)’
14 | qsort(array,sizeof(array));
| ^
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/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from lunchbox.cpp:1:
/usr/include/stdlib.h:830:13: note: declared here
830 | extern void qsort (void *__base, size_t __nmemb, size_t __size,
| ^~~~~
lunchbox.cpp:16: