Record Detail

Runtime Error

/in/isSibling.c: In function 'isSibling':
/in/isSibling.c:11:19: warning: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
         if(strcmp(new1, new2)==0){
                   ^~~~
In file included from /in/isSibling.c:2:0:
/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'char'
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
/in/isSibling.c:11:25: warning: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
         if(strcmp(new1, new2)==0){
                         ^~~~
In file included from /in/isSibling.c:2:0:
/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'char'
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 276.0 KiB
#2 Accepted Detail 1ms 256.0 KiB
#3 Runtime Error (-11) Detail 1ms 332.0 KiB
#4 Runtime Error (-11) Detail 1ms 384.0 KiB
#5 Runtime Error (-11) Detail 1ms 380.0 KiB
#6 Accepted Detail 1ms 256.0 KiB
#7 Accepted Detail 1ms 256.0 KiB
#8 Runtime Error (-11) Detail 1ms 332.0 KiB
#9 Runtime Error (-11) Detail 1ms 384.0 KiB
#10 Accepted Detail 1ms 328.0 KiB
#11 Runtime Error (-11) Detail 1ms 332.0 KiB
#12 Runtime Error (-11) Detail 1ms 332.0 KiB
#13 Runtime Error (-11) Detail 1ms 256.0 KiB
#14 Runtime Error (-11) Detail 1ms 328.0 KiB
#15 Runtime Error (-11) Detail 1ms 324.0 KiB
#16 Runtime Error (-11) Detail 1ms 336.0 KiB
#17 Runtime Error (-11) Detail 1ms 332.0 KiB
#18 Runtime Error (-11) Detail 1ms 308.0 KiB
#19 Runtime Error (-11) Detail 1ms 256.0 KiB
#20 Runtime Error (-11) Detail 1ms 324.0 KiB
#21 Runtime Error (-11) Detail 1ms 332.0 KiB
#22 Runtime Error (-11) Detail 1ms 328.0 KiB
#23 Runtime Error (-11) Detail 1ms 384.0 KiB
#24 Runtime Error (-11) Detail 1ms 332.0 KiB
#25 Runtime Error (-11) Detail 1ms 384.0 KiB

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:05:12
Judged At
2022-07-08 16:05:21
Judged By
Score
20
Total Time
33ms
Peak Memory
384.0 KiB