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=gnu11 -O2 -Wall  -o mumsh main.c
main.c:47:17: warning: implicit declaration of function 'waitpid' is invalid in C99 [-Wimplicit-function-declaration]
            if (waitpid(background[i], NULL, WNOHANG)!=0) {
                ^
main.c:425:32: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration]
            while ( (finishPid=wait(NULL))!=-1){
                               ^
main.c:447:13: warning: implicit declaration of function 'waitpid' is invalid in C99 [-Wimplicit-function-declaration]
            waitpid(sonPid, NULL, WUNTRACED);
            ^
3 warnings generated.
clang -std=gnu11 -O2 -Wall  -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=integer -o mumsh_memory_check main.c
main.c:47:17: warning: implicit declaration of function 'waitpid' is invalid in C99 [-Wimplicit-function-declaration]
            if (waitpid(background[i], NULL, WNOHANG)!=0) {
                ^
main.c:425:32: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration]
            while ( (finishPid=wait(NULL))!=-1){
                               ^
main.c:447:13: warning: implicit declaration of function 'waitpid' is invalid in C99 [-Wimplicit-function-declaration]
            waitpid(sonPid, NULL, WUNTRACED);
            ^
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 1ms 684.0 KiB
#2 Accepted Detail 3ms 1.293 MiB
#3 Accepted Detail 3ms 1.363 MiB
#4 Accepted Detail 5ms 1.914 MiB
#5 Accepted Detail 2ms 1.371 MiB
#6 Accepted Detail 3ms 1.164 MiB
#7 Accepted Detail 8ms 1.629 MiB
#8 Accepted Detail 6ms 1.816 MiB
#9 Accepted Detail 5ms 1.477 MiB
#10 Accepted Detail 6ms 1.574 MiB
#11 Accepted Detail 5ms 1.738 MiB
#12 Accepted Detail 8ms 1.793 MiB
#13 Accepted Detail 6ms 1.707 MiB
#14 Accepted Detail 7ms 1.875 MiB
#15 Accepted Detail 14ms 1.82 MiB
#16 Accepted Detail 11ms 1.73 MiB
#17 Accepted Detail 12ms 1.875 MiB
#18 Accepted Detail 12ms 1.855 MiB

Information

Submit By
Type
Submission
Homework
Project 1 Final Shell
Language
GNU Make
Submit At
2019-10-09 09:57:01
Judged At
2019-10-09 09:57:01
Judged By
Score
180
Total Time
124ms
Peak Memory
1.914 MiB