Record Detail

Wrong Answer

/in/isSibling.c: In function 'isSibling':
/in/isSibling.c:14:11: warning: passing argument 1 of 'qsort' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     qsort(phrase1, len1, sizeof(char), cmpfunc);
           ^~~~~~~
In file included from /in/isSibling.c:2:0:
/usr/include/stdlib.h:827:13: note: expected 'void *' but argument is of type 'const char *'
 extern void qsort (void *__base, size_t __nmemb, size_t __size,
             ^~~~~
/in/isSibling.c:15:11: warning: passing argument 1 of 'qsort' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     qsort(phrase2, len2, sizeof(char), cmpfunc);
           ^~~~~~~
In file included from /in/isSibling.c:2:0:
/usr/include/stdlib.h:827:13: note: expected 'void *' but argument is of type 'const char *'
 extern void qsort (void *__base, size_t __nmemb, size_t __size,
             ^~~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 296.0 KiB
#2 Accepted Detail 1ms 328.0 KiB
#3 Wrong Answer Detail 1ms 256.0 KiB
#4 Accepted Detail 1ms 260.0 KiB
#5 Accepted Detail 1ms 256.0 KiB
#6 Accepted Detail 1ms 216.0 KiB
#7 Accepted Detail 1ms 260.0 KiB
#8 Wrong Answer Detail 1ms 276.0 KiB
#9 Wrong Answer Detail 1ms 296.0 KiB
#10 Accepted Detail 1ms 252.0 KiB
#11 Accepted Detail 1ms 332.0 KiB
#12 Accepted Detail 1ms 276.0 KiB
#13 Accepted Detail 1ms 256.0 KiB
#14 Wrong Answer Detail 1ms 256.0 KiB
#15 Accepted Detail 1ms 296.0 KiB
#16 Accepted Detail 1ms 296.0 KiB
#17 Wrong Answer Detail 1ms 268.0 KiB
#18 Accepted Detail 1ms 256.0 KiB
#19 Wrong Answer Detail 1ms 256.0 KiB
#20 Accepted Detail 1ms 340.0 KiB
#21 Accepted Detail 1ms 264.0 KiB
#22 Accepted Detail 2ms 260.0 KiB
#23 Wrong Answer Detail 1ms 384.0 KiB
#24 Accepted Detail 1ms 256.0 KiB
#25 Wrong Answer Detail 1ms 336.0 KiB

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:02:34
Judged At
2022-07-08 16:04:46
Judged By
Score
68
Total Time
33ms
Peak Memory
384.0 KiB