Record Detail

Wrong Answer

/in/isSibling.c: In function 'isSibling':
/in/isSibling.c:13:9: warning: passing argument 1 of 'qsort' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  qsort (phrase1, len1, sizeof(char*),cmp_str_size);
         ^~~~~~~
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:14:9: warning: passing argument 1 of 'qsort' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  qsort (phrase2, len2, sizeof(char*),cmp_str_size);
         ^~~~~~~
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:20:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 256.0 KiB
#2 Accepted Detail 1ms 260.0 KiB
#3 Accepted Detail 1ms 268.0 KiB
#4 Accepted Detail 1ms 212.0 KiB
#5 Wrong Answer Detail 1ms 328.0 KiB
#6 Accepted Detail 1ms 296.0 KiB
#7 Accepted Detail 1ms 256.0 KiB
#8 Accepted Detail 1ms 256.0 KiB
#9 Accepted Detail 1ms 256.0 KiB
#10 Accepted Detail 1ms 336.0 KiB
#11 Accepted Detail 1ms 216.0 KiB
#12 Wrong Answer Detail 1ms 296.0 KiB
#13 Wrong Answer Detail 1ms 256.0 KiB
#14 Accepted Detail 1ms 256.0 KiB
#15 Wrong Answer Detail 1ms 256.0 KiB
#16 Wrong Answer Detail 1ms 256.0 KiB
#17 Accepted Detail 1ms 256.0 KiB
#18 Wrong Answer Detail 1ms 212.0 KiB
#19 Accepted Detail 1ms 256.0 KiB
#20 Accepted Detail 1ms 296.0 KiB
#21 Accepted Detail 1ms 256.0 KiB
#22 Accepted Detail 1ms 256.0 KiB
#23 Accepted Detail 1ms 276.0 KiB
#24 Accepted Detail 1ms 296.0 KiB
#25 Accepted Detail 1ms 324.0 KiB

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:05:37
Judged At
2022-07-08 16:05:51
Judged By
Score
76
Total Time
29ms
Peak Memory
336.0 KiB