Record Detail

Accepted

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=c11 -O2 -Wall -Wextra -pedantic  -g -o mumsh main.c mainlib.c
main.c:66:17: warning: inequality comparison result unused [-Wunused-comparison]
                wait(&status) != pid_d;
                ~~~~~~~~~~~~~~^~~~~~~~
main.c:10:6: warning: unused variable 'status_d' [-Wunused-variable]
        int status_d = 0;
            ^
main.c:6:61: warning: unused parameter 'pid' [-Wunused-parameter]
void dup_and_exc_2(struct Cmd_status* cmd_io_status, pid_t* pid, char** argv,
                                                            ^
main.c:130:17: warning: inequality comparison result unused [-Wunused-comparison]
                wait(&status) != pid_d;
                ~~~~~~~~~~~~~~^~~~~~~~
main.c:74:6: warning: unused variable 'status_d' [-Wunused-variable]
        int status_d = 0;
            ^
main.c:70:59: warning: unused parameter 'pid' [-Wunused-parameter]
void dup_and_exc(struct Cmd_status* cmd_io_status, pid_t* pid, char** argv,
                                                          ^
6 warnings generated.
clang -std=c11 -O2 -Wall -Wextra -pedantic  -g -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=integer -o mumsh_memory_check main.c mainlib.c
main.c:66:17: warning: inequality comparison result unused [-Wunused-comparison]
                wait(&status) != pid_d;
                ~~~~~~~~~~~~~~^~~~~~~~
main.c:10:6: warning: unused variable 'status_d' [-Wunused-variable]
        int status_d = 0;
            ^
main.c:6:61: warning: unused parameter 'pid' [-Wunused-parameter]
void dup_and_exc_2(struct Cmd_status* cmd_io_status, pid_t* pid, char** argv,
                                                            ^
main.c:130:17: warning: inequality comparison result unused [-Wunused-comparison]
                wait(&status) != pid_d;
                ~~~~~~~~~~~~~~^~~~~~~~
main.c:74:6: warning: unused variable 'status_d' [-Wunused-variable]
        int status_d = 0;
            ^
main.c:70:59: warning: unused parameter 'pid' [-Wunused-parameter]
void dup_and_exc(struct Cmd_status* cmd_io_status, pid_t* pid, char** argv,
                                                          ^
6 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 720.0 KiB
#2 Accepted Detail 3ms 1.125 MiB
#3 Accepted Detail 2ms 964.0 KiB
#4 Accepted Detail 5ms 1.113 MiB
#5 Accepted Detail 3ms 1.055 MiB
#6 Accepted Detail 2ms 832.0 KiB
#7 Accepted Detail 6ms 1.273 MiB
#8 Accepted Detail 5ms 1.102 MiB
#9 Accepted Detail 5ms 1.121 MiB
#10 Accepted Detail 5ms 1016.0 KiB
#11 Accepted Detail 5ms 1.113 MiB
#12 Accepted Detail 6ms 1.336 MiB
#13 Accepted Detail 6ms 1.234 MiB
#14 Accepted Detail 6ms 1.234 MiB
#15 Accepted Detail 9ms 1.582 MiB
#16 Accepted Detail 9ms 1.324 MiB
#17 Accepted Detail 10ms 1.277 MiB
#18 Accepted Detail 9ms 1.195 MiB

Information

Submit By
Type
Submission
Homework
Project 1 Stage 2
Language
GNU Make
Submit At
2018-10-05 22:00:26
Judged At
2018-10-05 22:00:26
Judged By
Score
180
Total Time
108ms
Peak Memory
1.582 MiB