Record Detail

Runtime Error

/in/lab4.c: In function 'exist':
/in/lab4.c:17:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(jt=0;jt<strlen(array);jt++){
               ^
/in/lab4.c: In function 'main':
/in/lab4.c:55:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int nn = 0; nn < strlen(arr_withoutblank); nn++) {
                             ^
/in/lab4.c:65:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int kk = 0; kk < strlen(arr_withoutblank); kk++) { numbers_withoutblank[kk] = arr_withoutblank[kk]; }
                             ^
/in/lab4.c:77:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int ii = 0; ii < strlen(numbers_withoutblank); ii++) {
                                 ^
/in/lab4.c:90:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int ii = 2; ii < strlen(numbers_withoutblank); ii++) {
                                 ^
/in/lab4.c:105:29: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
         for (int kk = 0; kk <numbers_withoutblank[kk]!=0; kk++) {
                          ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/in/lab4.c:126:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int kk = 0; kk < strlen(numbers_withoutblank); kk++) {
                             ^
/in/lab4.c:251:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int kk = 0; kk <= strlen(numbers_withoutblank); kk++) {
                             ^~
/in/lab4.c:263:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int jj = 0; jj < strlen(numbers_withoutblank); jj++) {
                                 ^
/in/lab4.c:271:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int ii = 0; ii < strlen(numbers_withoutblank); ii++) {
                                 ^
/in/lab4.c:262:19: warning: variable 'between2' set but not used [-Wunused-but-set-variable]
             char  between2[200] = {0};
                   ^~~~~~~~
/in/lab4.c:27:10: warning: variable 'name' set but not used [-Wunused-but-set-variable]
     char name[256] = {0};
          ^~~~
# Status Time Cost Memory Cost
#1 Runtime Error (1) Detail 44ms 8.453 MiB

Information

Submit By
Type
Submission
Homework
Lab 4 (TEST ONLY)
Language
C
Submit At
2021-11-07 13:35:00
Judged At
2021-11-21 14:58:51
Judged By
Score
0
Total Time
44ms
Peak Memory
8.453 MiB