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 5ms 1.738 MiB
#2 Accepted Detail 3ms 1.516 MiB
#3 Accepted Detail 4ms 1.637 MiB
#4 Accepted Detail 3ms 1.477 MiB
#5 Accepted Detail 9ms 1.961 MiB
#6 Accepted Detail 3ms 1.633 MiB
#7 Accepted Detail 8ms 3.152 MiB
#8 Accepted Detail 16ms 4.215 MiB
#9 Accepted Detail 2ms 1.078 MiB
#10 Accepted Detail 1ms 536.0 KiB
#11 Accepted Detail 2ms 1.207 MiB
#12 Accepted Detail 10ms 1.789 MiB
#13 Accepted Detail 4ms 1.418 MiB
#14 Accepted Detail 6ms 1.492 MiB
#15 Accepted Detail 18ms 2.586 MiB
#16 Accepted Detail 12ms 2.629 MiB
#17 Accepted Detail 11ms 1.789 MiB
#18 Accepted Detail 42ms 4.27 MiB

Information

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