Record Detail

Wrong Answer

prepare (1/3): 
finished

make (2/3): 
make: Entering directory '/out/build/driver'
clang -std=gnu11 -O2 -o driver driver.c
driver successfully constructed
make: Leaving directory '/out/build/driver'
make: Entering directory '/out/build/mumsh'
clang -std=gnu11 -O2 -Wall -Wextra -pedantic -Wno-unused-result -o mumsh main.c redirect.c read_command.c parse.c execute.c pipe.c internal_cmds.c
In file included from main.c:8:
./read_command.h:38:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from main.c:9:
./parse.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from main.c:10:
./execute.h:14:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
main.c:18:14: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
char command[MAXSIZE];
             ^~~~~~~
main.c:20:25: warning: unused parameter 'signo' [-Wunused-parameter]
void sigint_handler(int signo) {
                        ^
main.c:47:31: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
        char oldCommandString[MAXSIZE];
                              ^~~~~~~
6 warnings generated.
In file included from redirect.c:10:
./internal_cmds.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
redirect.c:47:15: warning: unused variable 'errorSymbol' [-Wunused-variable]
        char* errorSymbol;
              ^
2 warnings generated.
In file included from read_command.c:8:
./read_command.h:38:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
read_command.c:18:9: warning: implicit declaration of function 'free_jobs' is invalid in C99 [-Wimplicit-function-declaration]
        free_jobs(jobs, jobCnt);
        ^
read_command.c:39:2: warning: no newline at end of file [-Wnewline-eof]
}
 ^
3 warnings generated.
In file included from parse.c:1:
./parse.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
parse.c:20:22: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
    *parsedCommand = '\0';
                     ^~~~
parse.c:21:2: warning: no newline at end of file [-Wnewline-eof]
}
 ^
3 warnings generated.
In file included from execute.c:9:
./pipe.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from execute.c:10:
./internal_cmds.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from execute.c:11:
./read_command.h:38:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from execute.c:12:
./parse.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from execute.c:13:
./execute.h:14:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
execute.c:132:9: warning: unused variable 'tPOs' [-Wunused-variable]
    int tPOs = 0;
        ^
execute.c:68:40: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
            if (deleteQuotePos[delPos] == strlen(argument) - 1 + deletedCnt)
                ~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
execute.c:162:9: warning: unused variable 'roundCnt' [-Wunused-variable]
    int roundCnt = 0;
        ^
execute.c:443:2: warning: no newline at end of file [-Wnewline-eof]
}
 ^
execute.c:260:9: warning: unused variable 'pos' [-Wunused-variable]
    int pos = 0;
        ^
10 warnings generated.
In file included from pipe.c:1:
./pipe.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from pipe.c:11:
./internal_cmds.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
pipe.c:91:11: warning: unused variable 'pid' [-Wunused-variable]
    pid_t pid;
          ^
3 warnings generated.
In file included from internal_cmds.c:6:
./internal_cmds.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
internal_cmds.c:20:21: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
        char buffer[MAXPATHLENGTH];
                    ^~~~~~~~~~~~~
internal_cmds.c:33:2: warning: no newline at end of file [-Wnewline-eof]
}
 ^
3 warnings generated.
clang -std=gnu11 -O2 -Wall -Wextra -pedantic -Wno-unused-result -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=integer -o mumsh_memory_check main.c redirect.c read_command.c parse.c execute.c pipe.c internal_cmds.c
In file included from main.c:8:
./read_command.h:38:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from main.c:9:
./parse.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from main.c:10:
./execute.h:14:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
main.c:18:14: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
char command[MAXSIZE];
             ^~~~~~~
main.c:20:25: warning: unused parameter 'signo' [-Wunused-parameter]
void sigint_handler(int signo) {
                        ^
main.c:47:31: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
        char oldCommandString[MAXSIZE];
                              ^~~~~~~
6 warnings generated.
In file included from redirect.c:10:
./internal_cmds.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
redirect.c:47:15: warning: unused variable 'errorSymbol' [-Wunused-variable]
        char* errorSymbol;
              ^
2 warnings generated.
In file included from read_command.c:8:
./read_command.h:38:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
read_command.c:18:9: warning: implicit declaration of function 'free_jobs' is invalid in C99 [-Wimplicit-function-declaration]
        free_jobs(jobs, jobCnt);
        ^
read_command.c:39:2: warning: no newline at end of file [-Wnewline-eof]
}
 ^
3 warnings generated.
In file included from parse.c:1:
./parse.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
parse.c:20:22: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
    *parsedCommand = '\0';
                     ^~~~
parse.c:21:2: warning: no newline at end of file [-Wnewline-eof]
}
 ^
3 warnings generated.
In file included from execute.c:9:
./pipe.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from execute.c:10:
./internal_cmds.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from execute.c:11:
./read_command.h:38:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from execute.c:12:
./parse.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from execute.c:13:
./execute.h:14:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
execute.c:132:9: warning: unused variable 'tPOs' [-Wunused-variable]
    int tPOs = 0;
        ^
execute.c:68:40: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
            if (deleteQuotePos[delPos] == strlen(argument) - 1 + deletedCnt)
                ~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
execute.c:162:9: warning: unused variable 'roundCnt' [-Wunused-variable]
    int roundCnt = 0;
        ^
execute.c:443:2: warning: no newline at end of file [-Wnewline-eof]
}
 ^
execute.c:260:9: warning: unused variable 'pos' [-Wunused-variable]
    int pos = 0;
        ^
10 warnings generated.
In file included from pipe.c:1:
./pipe.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
In file included from pipe.c:11:
./internal_cmds.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
pipe.c:91:11: warning: unused variable 'pid' [-Wunused-variable]
    pid_t pid;
          ^
3 warnings generated.
In file included from internal_cmds.c:6:
./internal_cmds.h:8:7: warning: no newline at end of file [-Wnewline-eof]
#endif
      ^
internal_cmds.c:20:21: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
        char buffer[MAXPATHLENGTH];
                    ^~~~~~~~~~~~~
internal_cmds.c:33:2: warning: no newline at end of file [-Wnewline-eof]
}
 ^
3 warnings generated.
mumsh successfully constructed
make: Leaving directory '/out/build/mumsh'
finished

clean (3/3): 
finished

all tasks finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted Detail 2ms 856.0 KiB
#2 Accepted Detail 3ms 1008.0 KiB
#3 Wrong Answer Detail 6ms 1.5 MiB
#4 Wrong Answer Detail 4ms 1.305 MiB
#5 Accepted Detail 2ms 888.0 KiB
#6 Wrong Answer Detail 3ms 872.0 KiB
#7 Accepted Detail 5ms 1.156 MiB
#8 Accepted Detail 5ms 1.305 MiB
#9 Accepted Detail 5ms 1.125 MiB
#10 Accepted Detail 5ms 1.094 MiB
#11 Accepted Detail 3ms 1.277 MiB
#12 Wrong Answer Detail 2ms 684.0 KiB
#13 Wrong Answer Detail 7ms 1.492 MiB
#14 Wrong Answer Detail 3ms 1.102 MiB
#15 Accepted Detail 3ms 1.293 MiB
#16 Accepted Detail 2ms 868.0 KiB
#17 Accepted Detail 2ms 876.0 KiB
#18 Accepted Detail 3ms 1.027 MiB
#19 Accepted Detail 1ms 520.0 KiB
#20 Accepted Detail 3ms 1.062 MiB
#21 Wrong Answer Detail 2ms 672.0 KiB
#22 Accepted Detail 2ms 688.0 KiB
#23 Wrong Answer Detail 6ms 1.652 MiB
#24 Accepted Detail 5ms 1.145 MiB
#25 Wrong Answer Detail 10ms 1.625 MiB
#26 Accepted Detail 5ms 1.238 MiB
#27 Wrong Answer Detail 5ms 1.512 MiB
#28 Wrong Answer Detail 4ms 1.191 MiB
#29 Wrong Answer Detail 2ms 728.0 KiB
#30 Accepted Detail 3ms 1.02 MiB
#31 Accepted Detail 40ms 1.688 MiB
#32 Accepted Detail 2ms 964.0 KiB
#33 Wrong Answer Detail 1ms 512.0 KiB
#34 Accepted Detail 3ms 1.004 MiB
#35 Accepted Detail 3ms 1.262 MiB

Information

Submit By
Type
Submission
Homework
Project 1 Final Test
Language
GNU Make
Submit At
2020-10-11 22:21:02
Judged At
2020-12-11 18:56:25
Judged By
Score
220
Total Time
178ms
Peak Memory
1.688 MiB