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 utils.c redirect.c
main.c:13:33: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
char* read_command(char command[MAXSIZE]);
                                ^~~~~~~
main.c:20:18: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
    char command[MAXSIZE];
                 ^~~~~~~
main.c:39:33: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
char* read_command(char command[MAXSIZE])
                                ^~~~~~~
main.c:74:22: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
    *parsedCommand = '\0';
                     ^~~~
4 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 utils.c redirect.c
main.c:13:33: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
char* read_command(char command[MAXSIZE]);
                                ^~~~~~~
main.c:20:18: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
    char command[MAXSIZE];
                 ^~~~~~~
main.c:39:33: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
char* read_command(char command[MAXSIZE])
                                ^~~~~~~
main.c:74:22: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
    *parsedCommand = '\0';
                     ^~~~
4 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 10ms 4.312 MiB
#2 Accepted Detail 12ms 4.965 MiB
#3 Accepted Detail 12ms 5.012 MiB
#4 Accepted Detail 14ms 5.203 MiB
#5 Accepted Detail 11ms 5.113 MiB
#6 Accepted Detail 14ms 4.832 MiB
#7 Accepted Detail 15ms 5.059 MiB
#8 Accepted Detail 14ms 5.043 MiB
#9 Accepted Detail 13ms 5.117 MiB
#10 Accepted Detail 15ms 5.02 MiB
#11 Accepted Detail 24ms 5.246 MiB
#12 Accepted Detail 15ms 5.207 MiB
#13 Wrong Answer Detail 27ms 5.359 MiB
#14 Wrong Answer Detail 35ms 5.207 MiB
#15 Wrong Answer Detail 31ms 5.336 MiB
#16 Wrong Answer Detail 24ms 5.543 MiB
#17 Wrong Answer Detail 23ms 5.73 MiB
#18 Wrong Answer Detail 40ms 5.438 MiB

Information

Submit By
Type
Submission
Homework
Project 1 Milestone 1
Language
GNU Make
Submit At
2020-09-20 23:09:00
Judged At
2020-09-20 23:09:00
Judged By
Score
120
Total Time
357ms
Peak Memory
5.73 MiB