Record Detail

Runtime Error

/in/isSibling.c: In function 'isSibling':
/in/isSibling.c:20:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     temp1 = ' ';
           ^
/in/isSibling.c:22:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i=0; i < lenth1 -1; ++i)
                     ^
/in/isSibling.c:24:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int j=0; j<lenth1 - 1 - i; ++j)
                        ^
/in/isSibling.c:28:30: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion]
                 strcpy(temp1,p1[j]);
                              ^~
In file included from /in/isSibling.c:5:0:
/usr/include/string.h:121:14: note: expected 'const char * restrict' but argument is of type 'char'
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^~~~~~
/in/isSibling.c:29:24: warning: passing argument 1 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion]
                 strcpy(p1[j],p1[j+1]);
                        ^~
In file included from /in/isSibling.c:5:0:
/usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'char'
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^~~~~~
/in/isSibling.c:29:30: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion]
                 strcpy(p1[j],p1[j+1]);
                              ^~
In file included from /in/isSibling.c:5:0:
/usr/include/string.h:121:14: note: expected 'const char * restrict' but argument is of type 'char'
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^~~~~~
/in/isSibling.c:30:24: warning: passing argument 1 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion]
                 strcpy(p1[j+1],temp1);
                        ^~
In file included from /in/isSibling.c:5:0:
/usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'char'
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^~~~~~
/in/isSibling.c:35:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     temp2 = ' ';
           ^
/in/isSibling.c:36:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i=0; i < lenth2 -1; ++i)
                     ^
/in/isSibling.c:38:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int j=0; j<lenth2 - 1 - i; ++j)
                        ^
/in/isSibling.c:42:30: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion]
                 strcpy(temp2,p2[j]);
                              ^~
In file included from /in/isSibling.c:5:0:
/usr/include/string.h:121:14: note: expected 'const char * restrict' but argument is of type 'char'
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^~~~~~
/in/isSibling.c:43:24: warning: passing argument 1 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion]
                 strcpy(p2[j],p2[j+1]);
                        ^~
In file included from /in/isSibling.c:5:0:
/usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'char'
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^~~~~~
/in/isSibling.c:43:30: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion]
                 strcpy(p2[j],p2[j+1]);
                              ^~
In file included from /in/isSibling.c:5:0:
/usr/include/string.h:121:14: note: expected 'const char * restrict' but argument is of type 'char'
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^~~~~~
/in/isSibling.c:44:24: warning: passing argument 1 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion]
                 strcpy(p2[j+1],temp2);
                        ^~
In file included from /in/isSibling.c:5:0:
/usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'char'
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^~~~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 0ms 260.0 KiB
#2 Accepted Detail 0ms 256.0 KiB
#3 Runtime Error (-11) Detail 1ms 336.0 KiB
#4 Runtime Error (-11) Detail 1ms 328.0 KiB
#5 Runtime Error (-11) Detail 1ms 328.0 KiB
#6 Accepted Detail 1ms 256.0 KiB
#7 Accepted Detail 1ms 256.0 KiB
#8 Runtime Error (-11) Detail 1ms 336.0 KiB
#9 Runtime Error (-11) Detail 1ms 332.0 KiB
#10 Accepted Detail 0ms 368.0 KiB
#11 Runtime Error (-11) Detail 1ms 256.0 KiB
#12 Runtime Error (-11) Detail 1ms 328.0 KiB
#13 Runtime Error (-11) Detail 1ms 384.0 KiB
#14 Runtime Error (-11) Detail 1ms 364.0 KiB
#15 Runtime Error (-11) Detail 1ms 332.0 KiB
#16 Runtime Error (-11) Detail 1ms 332.0 KiB
#17 Runtime Error (-11) Detail 1ms 332.0 KiB
#18 Runtime Error (-11) Detail 1ms 332.0 KiB
#19 Runtime Error (-11) Detail 1ms 312.0 KiB
#20 Runtime Error (-11) Detail 1ms 332.0 KiB
#21 Runtime Error (-11) Detail 1ms 256.0 KiB
#22 Runtime Error (-11) Detail 1ms 380.0 KiB
#23 Runtime Error (-11) Detail 1ms 328.0 KiB
#24 Accepted Detail 1ms 256.0 KiB
#25 Runtime Error (-11) Detail 1ms 332.0 KiB

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:28:00
Judged At
2022-07-08 16:05:34
Judged By
Score
24
Total Time
30ms
Peak Memory
384.0 KiB